# project samba configured on Sat Dec 14 06:46:42 2019 by # waf 2.0.18 (abi 20, python 30800f0 on linux) # using ./buildtools/bin/waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-libiconv=/home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr --enable-fhs --cross-compile --cross-answers=/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt --hostcc=gcc --disable-rpath --disable-rpath-install --disable-iprint --without-pam --without-dmapi --without-gpgme --without-ldb-lmdb --disable-glusterfs --with-cluster-support --bundled-libraries=!asn1_compile,!compile_et --without-acl-support --disable-cups --enable-avahi --without-fam --without-libarchive --without-ad-dc --without-json --without-ads --without-ldap # ---------------------------------------- Setting top to /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2 ---------------------------------------- Setting out to /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin ---------------------------------------- Checking for 'gcc' (C compiler) find program=['gcc', 'cc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='CC' -> ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc'] ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-dM', '-E', '-'] out: #define __riscv 1 #define __SSP_STRONG__ 3 #define __DBL_MIN_EXP__ (-1021) #define __FLT32X_MAX_EXP__ 1024 #define __riscv_atomic 1 #define __UINT_LEAST16_MAX__ 0xffff #define __ATOMIC_ACQUIRE 2 #define __FLT128_MAX_10_EXP__ 4932 #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F #define __GCC_IEC_559_COMPLEX 2 #define __UINT_LEAST8_TYPE__ unsigned char #define __INTMAX_C(c) c ## L #define __CHAR_BIT__ 8 #define __UINT8_MAX__ 0xff #define __WINT_MAX__ 0xffffffffU #define __FLT32_MIN_EXP__ (-125) #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffffffffffUL #define __WCHAR_MAX__ 0x7fffffff #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ ((double)4.94065645841246544176568792868221372e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 1 #define __riscv_cmodel_medlow 1 #define __riscv_float_abi_soft 1 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #define __unix__ 1 #define __FLT64_DECIMAL_DIG__ 17 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __UINT_FAST64_MAX__ 0xffffffffffffffffUL #define __SIG_ATOMIC_TYPE__ int #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __GNUC_PATCHLEVEL__ 0 #define __FLT32_HAS_DENORM__ 1 #define __UINT_FAST8_MAX__ 0xff #define __has_include(STR) __has_include__(STR) #define __DEC64_MAX_EXP__ 385 #define __INT8_C(c) c #define __INT_LEAST8_WIDTH__ 8 #define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL #define __SHRT_MAX__ 0x7fff #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L #define __FLT64X_MAX_10_EXP__ 4932 #define __UINT_LEAST8_MAX__ 0xff #define __GCC_ATOMIC_BOOL_LOCK_FREE 1 #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128 #define __UINTMAX_TYPE__ long unsigned int #define __linux 1 #define __DEC32_EPSILON__ 1E-6DF #define __FLT_EVAL_METHOD_TS_18661_3__ 0 #define __CHAR_UNSIGNED__ 1 #define __UINT32_MAX__ 0xffffffffU #define __riscv_fdiv 1 #define __LDBL_MAX_EXP__ 16384 #define __FLT128_MIN_EXP__ (-16381) #define __WINT_MIN__ 0U #define __linux__ 1 #define __FLT128_MIN_10_EXP__ (-4931) #define __INT_LEAST16_WIDTH__ 16 #define __SCHAR_MAX__ 0x7f #define __FLT128_MANT_DIG__ 113 #define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) #define __INT64_C(c) c ## L #define __DBL_DIG__ 15 #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __FLT64X_MANT_DIG__ 113 #define __SIZEOF_INT__ 4 #define __SIZEOF_POINTER__ 8 #define __USER_LABEL_PREFIX__ #define __FLT64X_EPSILON__ 1.92592994438723585305597794258492732e-34F64x #define __STDC_HOSTED__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __FLT32_DIG__ 6 #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F #define __SHRT_WIDTH__ 16 #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L #define __STDC_UTF_16__ 1 #define __DEC32_MAX__ 9.999999E96DF #define __FLT64X_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F64x #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 8 #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201706L #define __UINT16_C(c) c #define __PTRDIFF_WIDTH__ 64 #define __DECIMAL_DIG__ 36 #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64 #define __gnu_linux__ 1 #define __INTMAX_WIDTH__ 64 #define __has_include_next(STR) __has_include_next__(STR) #define __FLT64X_MIN_10_EXP__ (-4931) #define __LDBL_HAS_QUIET_NAN__ 1 #define __FLT64_MANT_DIG__ 53 #define __GNUC__ 7 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 16 #define __BIGGEST_ALIGNMENT__ 16 #define __FLT64_MAX_10_EXP__ 308 #define __DBL_MAX__ ((double)1.79769313486231570814527423731704357e+308L) #define __INT_FAST32_MAX__ 0x7fffffffffffffffL #define __DBL_HAS_INFINITY__ 1 #define __riscv_flen 64 #define __DEC32_MIN_EXP__ (-94) #define __INTPTR_WIDTH__ 64 #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ long int #define __LDBL_HAS_DENORM__ 1 #define __FLT128_HAS_INFINITY__ 1 #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __INT_LEAST32_MAX__ 0x7fffffff #define __DEC32_MIN__ 1E-95DF #define __DBL_MAX_EXP__ 1024 #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __DEC128_EPSILON__ 1E-33DL #define __PTRDIFF_MAX__ 0x7fffffffffffffffL #define __FLT32_HAS_QUIET_NAN__ 1 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 8 #define __FLT64X_MIN_EXP__ (-16381) #define __SIZEOF_WINT_T__ 4 #define __LONG_LONG_WIDTH__ 64 #define __FLT32_MAX_EXP__ 128 #define __GXX_ABI_VERSION 1011 #define __FLT_MIN_EXP__ (-125) #define __FLT64X_HAS_QUIET_NAN__ 1 #define __INT_FAST64_TYPE__ long int #define __FP_FAST_FMAF 1 #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64 #define __DBL_MIN__ ((double)2.22507385850720138309023271733240406e-308L) #define __LP64__ 1 #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x #define __FLT64_MIN_EXP__ (-1021) #define __FLT64_MIN_10_EXP__ (-307) #define __riscv_mul 1 #define __FLT64X_DECIMAL_DIG__ 36 #define __DEC128_MIN__ 1E-6143DL #define __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __DBL_HAS_DENORM__ 1 #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 #define __UINT8_TYPE__ unsigned char #define __NO_INLINE__ 1 #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 36 #define __VERSION__ "7.4.0" #define __UINT64_C(c) c ## UL #define _STDC_PREDEF_H 1 #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __FLT128_MAX_EXP__ 16384 #define __FLT32_MANT_DIG__ 24 #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __STDC_IEC_559_COMPLEX__ 1 #define __FLT128_HAS_DENORM__ 1 #define __FLT128_DIG__ 33 #define __SCHAR_WIDTH__ 8 #define __INT32_C(c) c #define __DEC64_EPSILON__ 1E-15DD #define __ORDER_PDP_ENDIAN__ 3412 #define __DEC128_MIN_EXP__ (-6142) #define __FLT32_MAX_10_EXP__ 38 #define __riscv_muldiv 1 #define __INT_FAST32_TYPE__ long int #define __UINT_LEAST16_TYPE__ short unsigned int #define __FLT64X_HAS_INFINITY__ 1 #define unix 1 #define __INT16_MAX__ 0x7fff #define __SIZE_TYPE__ long unsigned int #define __UINT64_MAX__ 0xffffffffffffffffUL #define __riscv_xlen 64 #define __FLT64X_DIG__ 33 #define __INT8_TYPE__ signed char #define __ELF__ 1 #define __FLT_RADIX__ 2 #define __INT_LEAST16_TYPE__ short int #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L #define __UINTMAX_C(c) c ## UL #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __SIZEOF_PTRDIFF_T__ 8 #define __FLT32X_MANT_DIG__ 53 #define __riscv_fsqrt 1 #define __FLT32X_MIN_EXP__ (-1021) #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __INT_FAST16_MAX__ 0x7fffffffffffffffL #define __FLT64_DIG__ 15 #define __UINT_FAST32_MAX__ 0xffffffffffffffffUL #define __UINT_LEAST64_TYPE__ long unsigned int #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 0x7fffffffffffffffL #define __FLT64X_HAS_DENORM__ 1 #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __FLT_HAS_INFINITY__ 1 #define __unix 1 #define __UINT_FAST16_TYPE__ long unsigned int #define __DEC64_MAX__ 9.999999999999999E384DD #define __INT_FAST32_WIDTH__ 64 #define __CHAR16_TYPE__ short unsigned int #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZE_WIDTH__ 64 #define __INT_LEAST16_MAX__ 0x7fff #define __DEC64_MANT_DIG__ 16 #define __INT64_MAX__ 0x7fffffffffffffffL #define __UINT_LEAST32_MAX__ 0xffffffffU #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __SIG_ATOMIC_WIDTH__ 32 #define __INT_LEAST64_TYPE__ long int #define __INT16_TYPE__ short int #define __INT_LEAST8_TYPE__ signed char #define __STDC_VERSION__ 201112L #define __DEC32_MAX_EXP__ 97 #define __INT_FAST8_MAX__ 0x7f #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __INTPTR_MAX__ 0x7fffffffffffffffL #define linux 1 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __FLT32X_DIG__ 15 #define __LDBL_MANT_DIG__ 113 #define __DBL_HAS_QUIET_NAN__ 1 #define __FLT64_HAS_INFINITY__ 1 #define __FLT64X_MAX__ 1.18973149535723176508575932662800702e+4932F64x #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __INTPTR_TYPE__ long int #define __UINT16_TYPE__ short unsigned int #define __WCHAR_TYPE__ int #define __SIZEOF_FLOAT__ 4 #define __UINTPTR_MAX__ 0xffffffffffffffffUL #define __INT_FAST64_WIDTH__ 64 #define __DEC64_MIN_EXP__ (-382) #define __FLT32_DECIMAL_DIG__ 9 #define __INT_FAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_DIG__ 6 #define __FLT32_HAS_INFINITY__ 1 #define __FLT64X_MAX_EXP__ 16384 #define __UINT_FAST64_TYPE__ long unsigned int #define __INT_MAX__ 0x7fffffff #define __INT64_TYPE__ long int #define __FLT_MAX_EXP__ 128 #define __ORDER_BIG_ENDIAN__ 4321 #define __DBL_MANT_DIG__ 53 #define __INT_LEAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 1 #define __DEC64_MIN__ 1E-383DD #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __LDBL_MIN_EXP__ (-16381) #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __WINT_WIDTH__ 32 #define __INT_LEAST8_MAX__ 0x7f #define __FLT32X_MAX_10_EXP__ 308 #define __SIZEOF_INT128__ 16 #define __LDBL_MAX_10_EXP__ 4932 #define __ATOMIC_RELAXED 0 #define __DBL_EPSILON__ ((double)2.22044604925031308084726333618164062e-16L) #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128 #define _LP64 1 #define __UINT8_C(c) c #define __FLT64_MAX_EXP__ 1024 #define __INT_LEAST32_TYPE__ int #define __SIZEOF_WCHAR_T__ 4 #define __UINT64_TYPE__ long unsigned int #define __FLT128_HAS_QUIET_NAN__ 1 #define __INT_FAST8_TYPE__ signed char #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x #define __GNUC_STDC_INLINE__ 1 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32 #define __DBL_DECIMAL_DIG__ 17 #define __STDC_UTF_32__ 1 #define __INT_FAST8_WIDTH__ 8 #define __DEC_EVAL_METHOD__ 2 #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __UINT32_C(c) c ## U #define __INTMAX_MAX__ 0x7fffffffffffffffL #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 64 #define __UINT_FAST32_TYPE__ long unsigned int #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F #define __FP_FAST_FMA 1 #define __INT32_TYPE__ int #define __SIZEOF_DOUBLE__ 8 #define __FLT_MIN_10_EXP__ (-37) #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64 #define __INT_LEAST32_WIDTH__ 32 #define __INTMAX_TYPE__ long int #define __DEC128_MAX_EXP__ 6145 #define __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 4 #define __INT_FAST16_WIDTH__ 64 #define __UINTMAX_MAX__ 0xffffffffffffffffUL #define __DEC32_MANT_DIG__ 7 #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L #define __INT16_C(c) c #define __STDC__ 1 #define __PTRDIFF_TYPE__ long int #define __riscv_div 1 #define __ATOMIC_SEQ_CST 5 #define __UINT32_TYPE__ unsigned int #define __FLT32X_MIN_10_EXP__ (-307) #define __UINTPTR_TYPE__ long unsigned int #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __DEC128_MANT_DIG__ 34 #define __LDBL_MIN_10_EXP__ (-4931) #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128 #define __SIZEOF_LONG_LONG__ 8 #define __FLT128_DECIMAL_DIG__ 36 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x #define __LDBL_DIG__ 33 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffffffffffUL #define __GCC_ATOMIC_SHORT_LOCK_FREE 1 #define __INT_LEAST64_WIDTH__ 64 #define __UINT_FAST8_TYPE__ unsigned char #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 find program=['ar'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='AR' -> ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-ar'] /home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc ---------------------------------------- Checking for program 'git' git find program=['git'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='GIT' -> ['git'] ---------------------------------------- Checking for c flags '-MMD' ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" int main() { return 0; } <== [1/1] Compiling bin/.conf_check_8d2ecf5c40d5213a14d0159db1789d2a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8d2ecf5c40d5213a14d0159db1789d2a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes ---------------------------------------- Checking for program 'gdb' not found find program=['gdb'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='GDB' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: Could not find the program ['gdb'] ---------------------------------------- Checking for header sys/utsname.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_02edb8f93e0d34fa93e28de06dff5d10/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_02edb8f93e0d34fa93e28de06dff5d10/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes ---------------------------------------- Checking uname sysname type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #include int main(void) { int printf(const char *format, ...); struct utsname n; if (uname(&n) == -1) return -1; printf("%s", n.sysname); ; return 0; } <== [1/3] Compiling bin/.conf_check_4b0b48799268a0ec248a249bec740323/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4b0b48799268a0ec248a249bec740323/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_4b0b48799268a0ec248a249bec740323/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4b0b48799268a0ec248a249bec740323/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_4b0b48799268a0ec248a249bec740323/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4b0b48799268a0ec248a249bec740323/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking uname sysname type'] out: Linux Linux ---------------------------------------- Checking uname machine type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #include int main(void) { int printf(const char *format, ...); struct utsname n; if (uname(&n) == -1) return -1; printf("%s", n.machine); ; return 0; } <== [1/3] Compiling bin/.conf_check_0bbafe05130ef5b7d82190a90770ec49/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0bbafe05130ef5b7d82190a90770ec49/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_0bbafe05130ef5b7d82190a90770ec49/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0bbafe05130ef5b7d82190a90770ec49/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_0bbafe05130ef5b7d82190a90770ec49/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0bbafe05130ef5b7d82190a90770ec49/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking uname machine type'] out: riscv64 riscv64 ---------------------------------------- Checking uname release type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #include int main(void) { int printf(const char *format, ...); struct utsname n; if (uname(&n) == -1) return -1; printf("%s", n.release); ; return 0; } <== [1/3] Compiling bin/.conf_check_39abe1f7afa8c274c1a5e8520e306c34/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_39abe1f7afa8c274c1a5e8520e306c34/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_39abe1f7afa8c274c1a5e8520e306c34/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_39abe1f7afa8c274c1a5e8520e306c34/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_39abe1f7afa8c274c1a5e8520e306c34/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_39abe1f7afa8c274c1a5e8520e306c34/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking uname release type'] out: 3.0.0 3.0.0 ---------------------------------------- Checking uname version type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #include int main(void) { int printf(const char *format, ...); struct utsname n; if (uname(&n) == -1) return -1; printf("%s", n.version); ; return 0; } <== [1/3] Compiling bin/.conf_check_6319b745d85fdc840d4fb8c1b5f44539/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6319b745d85fdc840d4fb8c1b5f44539/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_6319b745d85fdc840d4fb8c1b5f44539/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6319b745d85fdc840d4fb8c1b5f44539/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_6319b745d85fdc840d4fb8c1b5f44539/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6319b745d85fdc840d4fb8c1b5f44539/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking uname version type'] out: #1 Tue Nov 1 12:34:56 UTC 2013 #1 Tue Nov 1 12:34:56 UTC 2013 ---------------------------------------- Checking for header stdio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7a110f4eaee45aa1c49f839c7b742c49/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7a110f4eaee45aa1c49f839c7b742c49/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes ---------------------------------------- Checking simple C program ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #include int main(void) { printf("hello world"); return 0; } <== [1/3] Compiling bin/.conf_check_21a1f8cb59cb497419ddd64095fe54b8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_21a1f8cb59cb497419ddd64095fe54b8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_21a1f8cb59cb497419ddd64095fe54b8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_21a1f8cb59cb497419ddd64095fe54b8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_21a1f8cb59cb497419ddd64095fe54b8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_21a1f8cb59cb497419ddd64095fe54b8/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking simple C program'] ok ---------------------------------------- Checking compiler accepts ['-Werror'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_536f118a1f8fcc48779dfe8e9c274769/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_536f118a1f8fcc48779dfe8e9c274769/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes ---------------------------------------- Checking linker accepts ['-Wl,-rpath,.'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_f8085803983f032ee092fefb78e315bd/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f8085803983f032ee092fefb78e315bd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f8085803983f032ee092fefb78e315bd/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f8085803983f032ee092fefb78e315bd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc', '-Wl,-rpath,.'] yes ---------------------------------------- Checking for rpath library support [1/5] Compiling bin/.conf_check_d89b6fd5a7e99a24a9085df043c662dd/libdir/liblc1.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-fPIC', '../../libdir/liblc1.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d89b6fd5a7e99a24a9085df043c662dd/testbuild/default/libdir/liblc1.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/5] Compiling bin/.conf_check_d89b6fd5a7e99a24a9085df043c662dd/main.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '../../main.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d89b6fd5a7e99a24a9085df043c662dd/testbuild/default/main.c.2.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../main.c: In function 'main': ../../main.c:1:26: warning: implicit declaration of function 'lib_func' [-Wimplicit-function-declaration] int main(void) {return !(lib_func() == 42);} ^~~~~~~~ [3/5] Linking bin/.conf_check_d89b6fd5a7e99a24a9085df043c662dd/testbuild/default/liblib1.so ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-shared', 'libdir/liblc1.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d89b6fd5a7e99a24a9085df043c662dd/testbuild/default/liblib1.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [4/5] Linking bin/.conf_check_d89b6fd5a7e99a24a9085df043c662dd/testbuild/default/prog1 ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'main.c.2.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d89b6fd5a7e99a24a9085df043c662dd/testbuild/default/prog1', '-Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d89b6fd5a7e99a24a9085df043c662dd/libdir', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d89b6fd5a7e99a24a9085df043c662dd/testbuild/default', '-llib1', '-ltirpc'] [5/5] Processing bin/.conf_check_d89b6fd5a7e99a24a9085df043c662dd/testbuild/default/prog1 ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d89b6fd5a7e99a24a9085df043c662dd/testbuild/default/prog1', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'rpath library support'] yes ----------------------------------------- Checking for -Wl,--version-script support [1/5] Compiling bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/libdir/liblc1.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-fPIC', '../../libdir/liblc1.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/testbuild/default/libdir/liblc1.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/5] Compiling bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/main.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '../../main.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/testbuild/default/main.c.2.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [3/5] Linking bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/testbuild/default/liblib1.so ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-Wl,--version-script=/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/ldscript', '-shared', 'libdir/liblc1.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/testbuild/default/liblib1.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: ../../main.c: In function 'main': ../../main.c:1:26: warning: implicit declaration of function 'lib_func' [-Wimplicit-function-declaration] int main(void) {return !(lib_func() == 42);} ^~~~~~~~ [4/5] Linking bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/testbuild/default/prog1 ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'main.c.2.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/testbuild/default/prog1', '-Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/libdir', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/testbuild/default', '-llib1', '-ltirpc'] [5/5] Processing bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/testbuild/default/prog1 ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4d563715c15f06cdec5ecb2a9663c04f/testbuild/default/prog1', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', '-Wl,--version-script support'] yes ------------------------------------------------- Checking compiler accepts ['-fvisibility=hidden'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_448e892053310fdf77186a49d9a7c71e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-fvisibility=hidden', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_448e892053310fdf77186a49d9a7c71e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes ------------------------------------------------- Checking for HAVE_VISIBILITY_ATTR ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 int main(void) { return 0; } __attribute__((visibility("default"))) void vis_foo2(void) {} <== [1/2] Compiling bin/.conf_check_564a246aa4a9fede52dc9d45b066df14/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-fvisibility=hidden', '-Werror', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_564a246aa4a9fede52dc9d45b066df14/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_564a246aa4a9fede52dc9d45b066df14/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_564a246aa4a9fede52dc9d45b066df14/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok ------------------------------------------------- Checking for library constructor support ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 void test_constructor_attribute(void) __attribute__ ((constructor)); void test_constructor_attribute(void) { return; } int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_e71b1e95703f2b3883517e1d5eea6a38/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-Werror', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e71b1e95703f2b3883517e1d5eea6a38/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e71b1e95703f2b3883517e1d5eea6a38/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e71b1e95703f2b3883517e1d5eea6a38/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok ------------------------------------------------- Checking for library destructor support ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 void test_destructor_attribute(void) __attribute__ ((destructor)); void test_destructor_attribute(void) { return; } int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_cc06207b3dfa24802a7ced1ad7e641e8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-Werror', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cc06207b3dfa24802a7ced1ad7e641e8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_cc06207b3dfa24802a7ced1ad7e641e8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cc06207b3dfa24802a7ced1ad7e641e8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok ------------------------------------------------- Checking for __attribute__ ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 void test_attribute(void) __attribute__ (()); void test_attribute(void) { return; } int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_97a9e5301adac3c9d243e6f63ca2860c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-Werror', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_97a9e5301adac3c9d243e6f63ca2860c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_97a9e5301adac3c9d243e6f63ca2860c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_97a9e5301adac3c9d243e6f63ca2860c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok ------------------------------------------------- Checking compiler accepts ['-fPIC'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1164b0568203a0d09cd410fbd8c7865c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-fPIC', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1164b0568203a0d09cd410fbd8c7865c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes ------------------------------------------------- Checking for inline ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 typedef int foo_t; static inline foo_t static_foo () {return 0; } inline foo_t foo () {return 0; } <== [1/1] Compiling bin/.conf_check_18d2e6cbb5167a387dff191cb8af1a02/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_18d2e6cbb5167a387dff191cb8af1a02/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] inline ------------------------------------------------- Checking for program 'pkg-config' /home/buildroot/autobuild/run/instance-0/output-1/host/bin/pkg-config find program=['pkg-config'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PKGCONFIG' -> ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/pkg-config'] ------------------------------------------------- Checking for pkg-config version >= '0.0.0' ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/pkg-config', '--atleast-pkgconfig-version=0.0.0'] yes -------------------------------------------------------- Checking compiler accepts ['-D__STDC_WANT_LIB_EXT1__=1'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_3e265d8d6e0902e479dc665626777054/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-D__STDC_WANT_LIB_EXT1__=1', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3e265d8d6e0902e479dc665626777054/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking compiler accepts [''] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 struct foo {int x;char y;}; struct foo bar = { .y = 'X', .x = 1 }; <== [1/1] Compiling bin/.conf_check_cc2072ca9e2bd6c3b3b08a89ffa770cb/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cc2072ca9e2bd6c3b3b08a89ffa770cb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/types.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_665278928d074a6ed43ca4126eba9b09/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_665278928d074a6ed43ca4126eba9b09/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/stat.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4a7d54bd160b6a052d8aa49c8a9a641f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4a7d54bd160b6a052d8aa49c8a9a641f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header stdlib.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ffa649443c8b512714d4af11cc260230/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ffa649443c8b512714d4af11cc260230/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header stddef.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ce5463d97f0c5a1fb9993e82c1779e21/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ce5463d97f0c5a1fb9993e82c1779e21/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header memory.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_284087c080cb949c35ab5da95f300c1f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_284087c080cb949c35ab5da95f300c1f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header string.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_fc5815a415b40c2122ea65db5dde4f56/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fc5815a415b40c2122ea65db5dde4f56/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header strings.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_dd86dcdbda46380b7e62fe8e3221ee3d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_dd86dcdbda46380b7e62fe8e3221ee3d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header inttypes.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7e95333d250b707b5598e515cb1338d7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7e95333d250b707b5598e515cb1338d7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header stdint.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_3dab0d59b91bbc922f701f728d08ff8e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3dab0d59b91bbc922f701f728d08ff8e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header unistd.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8e9359efc0205fc4efc409c2d12971f7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8e9359efc0205fc4efc409c2d12971f7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header minix/config.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9f511a1338f0db6859f24bc7d09b9f4e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9f511a1338f0db6859f24bc7d09b9f4e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:41:10: fatal error: minix/config.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: The configuration failed -------------------------------------------------------- Checking for header ctype.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_59859c8e52c5293558ea3180d64e0cc9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_59859c8e52c5293558ea3180d64e0cc9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header standards.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_12955ad4b545133ef340438b69228c95/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_12955ad4b545133ef340438b69228c95/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:43:10: fatal error: standards.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: The configuration failed -------------------------------------------------------- Checking for header stdbool.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2dc85bda0a57dd2c1706a527dbb0ef33/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2dc85bda0a57dd2c1706a527dbb0ef33/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header stdarg.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8c79c7a6442239c1be86cf977b82c038/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8c79c7a6442239c1be86cf977b82c038/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header vararg.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_554af444100e42da6900312dbe2de78d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_554af444100e42da6900312dbe2de78d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:47:10: fatal error: vararg.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: The configuration failed -------------------------------------------------------- Checking for header limits.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e0a011644db7f4ccd43fb4ba7a5d6508/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e0a011644db7f4ccd43fb4ba7a5d6508/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header assert.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d2815d08c9eb1e55769d911fd8c3fd28/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d2815d08c9eb1e55769d911fd8c3fd28/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking getconf LFS_CFLAGS not found -------------------------------------------------------- Checking for large file support without additional flags ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { if (sizeof(off_t) < 8) return 1; return 0; } <== [1/3] Compiling bin/.conf_check_f53fc0379cd68555923712c382e44e1c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f53fc0379cd68555923712c382e44e1c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_f53fc0379cd68555923712c382e44e1c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f53fc0379cd68555923712c382e44e1c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_f53fc0379cd68555923712c382e44e1c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f53fc0379cd68555923712c382e44e1c/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking for large file support without additional flags'] ok -------------------------------------------------------- Checking for header sys/time.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0ac663f1c08ec0d5d0708de173d4dc40/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0ac663f1c08ec0d5d0708de173d4dc40/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header time.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f2b9d362fb71d1352a0fb45446d6255f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f2b9d362fb71d1352a0fb45446d6255f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header endian.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5e76864e14b8a9d78d953d483f6d31ed/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5e76864e14b8a9d78d953d483f6d31ed/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/endian.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_06568fd402d05c8b4bf7695e2fed9579/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_06568fd402d05c8b4bf7695e2fed9579/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:56:10: fatal error: sys/endian.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: The configuration failed -------------------------------------------------------- Checking for HAVE_LITTLE_ENDIAN ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef __BYTE_ORDER #define B __BYTE_ORDER #elif defined(BYTE_ORDER) #define B BYTE_ORDER #endif #ifdef __LITTLE_ENDIAN #define LITTLE __LITTLE_ENDIAN #elif defined(LITTLE_ENDIAN) #define LITTLE LITTLE_ENDIAN #endif #if !defined(LITTLE) || !defined(B) || LITTLE != B #error Not little endian. #endif int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_585efd31924cc04f9aa9c2dd35202ecf/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_585efd31924cc04f9aa9c2dd35202ecf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_585efd31924cc04f9aa9c2dd35202ecf/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_585efd31924cc04f9aa9c2dd35202ecf/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for HAVE_BIG_ENDIAN ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef __BYTE_ORDER #define B __BYTE_ORDER #elif defined(BYTE_ORDER) #define B BYTE_ORDER #endif #ifdef __BIG_ENDIAN #define BIG __BIG_ENDIAN #elif defined(BIG_ENDIAN) #define BIG BIG_ENDIAN #endif #if !defined(BIG) || !defined(B) || BIG != B #error Not big endian. #endif int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_229135d2d5d947451903cb95f8e2f4ce/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_229135d2d5d947451903cb95f8e2f4ce/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:72:26: error: #error Not big endian. #error Not big endian. ^~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: The configuration failed not found -------------------------------------------------------- Checking for header signal.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_60c9cf5729d12071d5779a419651d045/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_60c9cf5729d12071d5779a419651d045/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking if signal handlers return int ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return *(signal (0, 0)) (0) == 1; return 0; } <== [1/2] Compiling bin/.conf_check_b2156567f08f5ace0da7489328e46864/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b2156567f08f5ace0da7489328e46864/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:61:28: error: void value not ignored as it ought to be int main(void) { return *(signal (0, 0)) (0) == 1; return 0; } ~^~~~~~~~~~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba: The configuration failed not found -------------------------------------------------------- Checking for variable __FUNCTION__ ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef __FUNCTION__ void *_x; _x=(void *)&__FUNCTION__; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_bc5fcc7f046ed4c1d0ed8d32d02af990/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bc5fcc7f046ed4c1d0ed8d32d02af990/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:64:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&__FUNCTION__; return (int)_x; ^ ok -------------------------------------------------------- Checking for va_copy ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { va_list ap1,ap2; va_copy(ap1,ap2); return 0; } <== [1/2] Compiling bin/.conf_check_358c82dc2773651feb1e024fdd08aae5/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_358c82dc2773651feb1e024fdd08aae5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_358c82dc2773651feb1e024fdd08aae5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_358c82dc2773651feb1e024fdd08aae5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for HAVE__VA_ARGS__MACRO ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #define eprintf(...) fprintf(stderr, __VA_ARGS__) eprintf("bla", "bar") ; return 0; } <== [1/2] Compiling bin/.conf_check_ab371d62af99cc3385f18c4373c70b8d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ab371d62af99cc3385f18c4373c70b8d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ab371d62af99cc3385f18c4373c70b8d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ab371d62af99cc3385f18c4373c70b8d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for header linux/types.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_530e74b2c7a573bf6b61e3128cbae4e6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_530e74b2c7a573bf6b61e3128cbae4e6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header crypt.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_504400c34374b976b70c6ad3b94438bc/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_504400c34374b976b70c6ad3b94438bc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header locale.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_708b4c40205f8926fea3627b006d2627/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_708b4c40205f8926fea3627b006d2627/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header acl/libacl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_bc2213279c8f4d3794e15a5cd1d74ca6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bc2213279c8f4d3794e15a5cd1d74ca6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:69:10: fatal error: acl/libacl.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header compat.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_938d3fad84ae12b61a5b5e2e05fec256/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_938d3fad84ae12b61a5b5e2e05fec256/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:69:10: fatal error: compat.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header attr/xattr.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_3aedac90e62d60c4b71e5ccd50f37345/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3aedac90e62d60c4b71e5ccd50f37345/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:69:10: fatal error: attr/xattr.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header dustat.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_784651cf3cf712711f80fee1d2285d18/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_784651cf3cf712711f80fee1d2285d18/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:69:10: fatal error: dustat.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header fcntl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_cef3f6a78e8fa9dbe586a6df8c1ee5fb/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cef3f6a78e8fa9dbe586a6df8c1ee5fb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header fnmatch.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_bbd3d37f728184aeeee2a6df0ab90ad9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bbd3d37f728184aeeee2a6df0ab90ad9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header glob.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d479fcde882501f9c1f07c96ad1e244a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d479fcde882501f9c1f07c96ad1e244a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header history.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1c64195a30fcb742e4a4a228d9f15ef9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1c64195a30fcb742e4a4a228d9f15ef9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:72:10: fatal error: history.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header krb5.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_fc488b24b763722d487ece06f56ffd4f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fc488b24b763722d487ece06f56ffd4f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header langinfo.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_fdc76ace811558f598e95d767edcc702/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fdc76ace811558f598e95d767edcc702/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header libaio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_396c214e4116a6f8eb67fabdfc530d8e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_396c214e4116a6f8eb67fabdfc530d8e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header ndir.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9d96fc3997de8e53ce04d809d0965a26/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9d96fc3997de8e53ce04d809d0965a26/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:75:10: fatal error: ndir.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header pwd.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f49e23304f9fcc0e7a4eed6c337a5cd7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f49e23304f9fcc0e7a4eed6c337a5cd7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header shadow.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ba3fde339edcfe0f22facbc6efa89d3c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ba3fde339edcfe0f22facbc6efa89d3c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/acl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c8eb2a870c47abe91a100c4679410842/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c8eb2a870c47abe91a100c4679410842/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:77:10: fatal error: sys/acl.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/attributes.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d92cc55408b90b825bc8fb5f37f386b8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d92cc55408b90b825bc8fb5f37f386b8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:77:10: fatal error: sys/attributes.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header attr/attributes.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9aa9348128e09f1bdf25dd5e7eeb26cf/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9aa9348128e09f1bdf25dd5e7eeb26cf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:77:10: fatal error: attr/attributes.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/capability.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_42264805f1b8702dae78bd03b18735bd/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_42264805f1b8702dae78bd03b18735bd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/dir.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c754a55ad44d258573b71e785583968a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c754a55ad44d258573b71e785583968a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/epoll.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c3ba8c13faf5ce74f5dcfd9cf56b4f96/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c3ba8c13faf5ce74f5dcfd9cf56b4f96/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header port.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c7850a0446b85051dc695350104cf65e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c7850a0446b85051dc695350104cf65e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:80:10: fatal error: port.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/fcntl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_426780fc3ec2e717d30d7bf139748c2f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_426780fc3ec2e717d30d7bf139748c2f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/filio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_67e779e03803ca14296cde3211f5b22c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_67e779e03803ca14296cde3211f5b22c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:81:10: fatal error: sys/filio.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/filsys.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9f21519b376a72c9dd1ab0808c9a288d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9f21519b376a72c9dd1ab0808c9a288d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:81:10: fatal error: sys/filsys.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/fs/s5param.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e9c2e8861af6f081219f9befeb5d8001/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e9c2e8861af6f081219f9befeb5d8001/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:81:10: fatal error: sys/fs/s5param.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/id.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_207e518d3127df62f96068a73c74e6d3/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_207e518d3127df62f96068a73c74e6d3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:81:10: fatal error: sys/id.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/ioctl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0366ca838eb2dc08e87cd8abaac3654f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0366ca838eb2dc08e87cd8abaac3654f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/ipc.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4ca819ae026748c78ad3a5d3b390f525/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4ca819ae026748c78ad3a5d3b390f525/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/mman.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b4c6561906bf968f7a06361273b4ae52/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b4c6561906bf968f7a06361273b4ae52/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/mode.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1cbcd114369f36c5d77b22c0fd033667/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1cbcd114369f36c5d77b22c0fd033667/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:84:10: fatal error: sys/mode.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/ndir.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_bf358e2002e4895b2c94168febcd7034/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bf358e2002e4895b2c94168febcd7034/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:84:10: fatal error: sys/ndir.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/priv.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f05ce11c0b3ddd90cc74d7d9b79a7146/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f05ce11c0b3ddd90cc74d7d9b79a7146/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:84:10: fatal error: sys/priv.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/resource.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8a3fb037d9bc0e638e6c29e239538aa6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8a3fb037d9bc0e638e6c29e239538aa6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/security.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_896f842920185e0573ec6913e32e5ea6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_896f842920185e0573ec6913e32e5ea6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:85:10: fatal error: sys/security.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/shm.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4749d73b4be19a81aff184ea0db3a9ba/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4749d73b4be19a81aff184ea0db3a9ba/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/statfs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_18935e1afcc2e0f27da1adc0fef828d7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_18935e1afcc2e0f27da1adc0fef828d7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/statvfs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_88f6ab68d7346a3dc07049f59d899842/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_88f6ab68d7346a3dc07049f59d899842/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/termio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_55c30a7bd4e6e343ca15664d2b6d1808/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_55c30a7bd4e6e343ca15664d2b6d1808/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:88:10: fatal error: sys/termio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/vfs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_eaf1a2e4f6131ef068a1bb546a09f86b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_eaf1a2e4f6131ef068a1bb546a09f86b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/xattr.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0cf73a28e6748c50cc0d91d1c5b640bf/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0cf73a28e6748c50cc0d91d1c5b640bf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header termio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_61d93e99941a2e3eff14824ce3eed93a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_61d93e99941a2e3eff14824ce3eed93a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header termios.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d7e09281c6c8f10131b69de74aee394f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d7e09281c6c8f10131b69de74aee394f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/file.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_12885536020ce048fca32e90ac0a82a9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_12885536020ce048fca32e90ac0a82a9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/ucontext.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7548ecf6315414f4f90eb4ced9b84283/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7548ecf6315414f4f90eb4ced9b84283/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/wait.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0f62de70c16fcac919268e2d28b8c7f8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0f62de70c16fcac919268e2d28b8c7f8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for declaration of malloc ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef malloc void *_x; _x=(void *)&malloc; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_cf524a1097e097c6f966eb5f2434c9ba/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cf524a1097e097c6f966eb5f2434c9ba/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:99:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&malloc; return (int)_x; ^ ok -------------------------------------------------------- Checking for header grp.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e50d0cb9296f4f3c9efc478d7ce56635/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e50d0cb9296f4f3c9efc478d7ce56635/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/select.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2e1687573016ce84b318509dd2c33a2a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2e1687573016ce84b318509dd2c33a2a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header setjmp.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5f9f29c3548a43d68d7fcdfd095361b9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5f9f29c3548a43d68d7fcdfd095361b9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header utime.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_55ecbc1d5359c791ac6fb1ceec04962f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_55ecbc1d5359c791ac6fb1ceec04962f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/syslog.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_fbe1ec6e6c0dcdbdd41e4aeb2004012e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fbe1ec6e6c0dcdbdd41e4aeb2004012e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header syslog.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a098036821e81e7b70a40943d824b590/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a098036821e81e7b70a40943d824b590/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/mount.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8bf59abcd997487f606f905cb648e67e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8bf59abcd997487f606f905cb648e67e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header mntent.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_14e63755c16733c66def7dfc9b3bd2a9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_14e63755c16733c66def7dfc9b3bd2a9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header stropts.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0dd60211bfb3a765a7c19fe8168897a0/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0dd60211bfb3a765a7c19fe8168897a0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header unix.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_911fd71c83f59afae3a0dea9cfb5fc94/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_911fd71c83f59afae3a0dea9cfb5fc94/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:105:10: fatal error: unix.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/param.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_282bc9a59e77b7c51fad2107cae62da4/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_282bc9a59e77b7c51fad2107cae62da4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/socket.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a446d7c45d485bc00901cd0582c6076e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a446d7c45d485bc00901cd0582c6076e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header netinet/in.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_6876ffae28f6ac83ab88d450fea21ca0/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6876ffae28f6ac83ab88d450fea21ca0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header netdb.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0c30f39937860d92d7cb5b109ff4ddd5/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0c30f39937860d92d7cb5b109ff4ddd5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header arpa/inet.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_87e5a5ff21e37ee51f55884c264ac85b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_87e5a5ff21e37ee51f55884c264ac85b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header netinet/in_systm.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7f11b96c55488189d7a7d01a0221a503/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7f11b96c55488189d7a7d01a0221a503/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header netinet/ip.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4ce8fb1f34c8aa444a3f5c6c2ca7a33b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4ce8fb1f34c8aa444a3f5c6c2ca7a33b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header netinet/tcp.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_95c6bd3b346975371d8fb09e11029ea6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_95c6bd3b346975371d8fb09e11029ea6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header netinet/in_ip.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_26a52728df0d3a753d18b38e2ca35b53/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_26a52728df0d3a753d18b38e2ca35b53/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:120:10: fatal error: netinet/in_ip.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/sockio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a7362a964e115526ca1d79bf7dcd6e2c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a7362a964e115526ca1d79bf7dcd6e2c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:120:10: fatal error: sys/sockio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/un.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2d692fb4a0827444e162b2ac3a274156/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2d692fb4a0827444e162b2ac3a274156/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/uio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_12714e6d0de83c0bac0464cf11df4732/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_12714e6d0de83c0bac0464cf11df4732/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header ifaddrs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_6c4b851a050bcef093e7c266f8bb992a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6c4b851a050bcef093e7c266f8bb992a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header direct.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8f131102ae6f897e25d39881d66a2b8c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8f131102ae6f897e25d39881d66a2b8c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:116:10: fatal error: direct.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header dirent.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d3196cbaf9b92b5789643a6cad9e3237/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d3196cbaf9b92b5789643a6cad9e3237/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header windows.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c71e28b024de03d59f21ef53750a5555/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c71e28b024de03d59f21ef53750a5555/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:117:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header winsock2.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0bb1fc3c4f58e109cee60e2796a99fef/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0bb1fc3c4f58e109cee60e2796a99fef/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:117:10: fatal error: winsock2.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header ws2tcpip.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a55017e09c97fffd8ff08257947576bf/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a55017e09c97fffd8ff08257947576bf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:117:10: fatal error: ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header errno.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_605fcbe8d666517299581af1a8499694/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_605fcbe8d666517299581af1a8499694/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header getopt.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9a75d6431c0529fafc736a438ff2f158/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9a75d6431c0529fafc736a438ff2f158/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header iconv.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_6badb6c1ae8a2d5a46b1cf34987a3314/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6badb6c1ae8a2d5a46b1cf34987a3314/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header nss.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_38647adaee379fb607da634c5d3403d2/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_38647adaee379fb607da634c5d3403d2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sasl/sasl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ba37544dca535a425b8904fe1bf36652/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ba37544dca535a425b8904fe1bf36652/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:121:10: fatal error: sasl/sasl.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for inotify_init ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_22d7153d608b67a3da911f488163ff50/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_22d7153d608b67a3da911f488163ff50/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define inotify_init __fake__inotify_init #ifdef HAVE_LIMITS_H # include #else # include #endif #undef inotify_init #if defined __stub_inotify_init || defined __stub___inotify_init #error "bad glibc stub" #endif extern char inotify_init(); int main() { return inotify_init(); } <== [1/2] Compiling bin/.conf_check_900373d3e2ee2046cf13972818ee16bb/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_900373d3e2ee2046cf13972818ee16bb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_900373d3e2ee2046cf13972818ee16bb/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_900373d3e2ee2046cf13972818ee16bb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for header security/pam_appl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_de1cb0dc711ba2a357eaf24eb93c8bbd/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_de1cb0dc711ba2a357eaf24eb93c8bbd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header zlib.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_212efc5f47f98ce13d60c06e864b6e7f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_212efc5f47f98ce13d60c06e864b6e7f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header asm/unistd.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_709951e658ecb33548a33083ed090ffb/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_709951e658ecb33548a33083ed090ffb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header aio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_6f1ff50f60928d305ac8d951871e2dd7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6f1ff50f60928d305ac8d951871e2dd7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/unistd.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b3433add68d1396251aef0c5170024b2/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b3433add68d1396251aef0c5170024b2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header alloca.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e5e1960b51a7f132cfbb8aa2a3395376/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e5e1960b51a7f132cfbb8aa2a3395376/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header float.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2b18f1af5e380913f4c774e53c140b31/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2b18f1af5e380913f4c774e53c140b31/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header rpc/rpc.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0c9e668dff6e3581ce156287e0db8d49/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0c9e668dff6e3581ce156287e0db8d49/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header rpc/nettype.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_87be5d570eee147d383af882f112ba26/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_87be5d570eee147d383af882f112ba26/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for tirpc rpc headers in default system path ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef _TIRPC_RPC_H #error "no tirpc headers in system path" #endif ; return 0; } <== [1/2] Compiling bin/.conf_check_3aa589da482f78bc6309d5613f0f3be5/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3aa589da482f78bc6309d5613f0f3be5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3aa589da482f78bc6309d5613f0f3be5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3aa589da482f78bc6309d5613f0f3be5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for libtirpc headers ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/pkg-config', '--cflags', '--libs', 'libtirpc'] out: -I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc -ltirpc yes -------------------------------------------------------- Checking for header rpc/rpc.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_H */ #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_366813007bcf21832fc49a5b54d5109e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../host/riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_366813007bcf21832fc49a5b54d5109e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header rpcsvc/yp_prot.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2ffb983f6c5c5fd9acb9fcf671e575df/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../host/riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2ffb983f6c5c5fd9acb9fcf671e575df/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: rpcsvc/yp_prot.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for libnsl ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/pkg-config', '--cflags', '--libs', 'libnsl'] err: Package libnsl was not found in the pkg-config search path. Perhaps you should add the directory containing `libnsl.pc' to the PKG_CONFIG_PATH environment variable Package 'libnsl', required by 'virtual:world', not found not found from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header rpcsvc/nis.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d190679e076bfaad91c305d73b7e1b9a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../host/riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d190679e076bfaad91c305d73b7e1b9a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: rpcsvc/nis.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header rpcsvc/ypclnt.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_cd6cbd747ffd7c86a3ec101e47ac0229/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../host/riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cd6cbd747ffd7c86a3ec101e47ac0229/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:134:10: fatal error: rpcsvc/ypclnt.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/sysctl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f142b81c1296bf661815e5e35ad44af7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f142b81c1296bf661815e5e35ad44af7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/fileio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f12c5a226c392569f9f837e9e03293bb/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f12c5a226c392569f9f837e9e03293bb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:135:10: fatal error: sys/fileio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/filesys.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_66bf8d5702e449ed1c73bd83f6a23b9d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_66bf8d5702e449ed1c73bd83f6a23b9d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:135:10: fatal error: sys/filesys.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/dustat.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_087d28726181a52bb836624602dfe768/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_087d28726181a52bb836624602dfe768/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:135:10: fatal error: sys/dustat.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/sysmacros.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_246a88cd86f878f06f5440e6ac62888e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_246a88cd86f878f06f5440e6ac62888e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header xfs/libxfs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5401a947a52c7b1051aa095f533c24bf/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5401a947a52c7b1051aa095f533c24bf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:136:10: fatal error: xfs/libxfs.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header netgroup.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_76794903cd0a36034e28e8e86f7c4ba5/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_76794903cd0a36034e28e8e86f7c4ba5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:136:10: fatal error: netgroup.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header valgrind.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_fe18c1e7fb392252db9c68ef5445ffa1/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fe18c1e7fb392252db9c68ef5445ffa1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:136:10: fatal error: valgrind.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header valgrind/valgrind.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c90ca9b7a6406ab2705782f0b790c458/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c90ca9b7a6406ab2705782f0b790c458/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:136:10: fatal error: valgrind/valgrind.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header valgrind/memcheck.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7d11a96e837fc4b910dfa31d5f1a53b8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7d11a96e837fc4b910dfa31d5f1a53b8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:136:10: fatal error: valgrind/memcheck.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header valgrind/helgrind.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_477ebe0c444adfe5677f7c084ef21316/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_477ebe0c444adfe5677f7c084ef21316/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:136:10: fatal error: valgrind/helgrind.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header nss_common.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7654d9e8156ae4f090778ff4bb33ff58/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7654d9e8156ae4f090778ff4bb33ff58/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:136:10: fatal error: nss_common.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header nsswitch.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a6bbb786d9f4bc73016c1afecd10beb3/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a6bbb786d9f4bc73016c1afecd10beb3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:136:10: fatal error: nsswitch.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header ns_api.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8fc33e22ad944c40389d9f8eed830f78/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8fc33e22ad944c40389d9f8eed830f78/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:136:10: fatal error: ns_api.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/extattr.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_445936d8950e2c591f59dd7aa8c31327/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_445936d8950e2c591f59dd7aa8c31327/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:136:10: fatal error: sys/extattr.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/ea.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_df0acbef9bc0966b94af4d162dd25112/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_df0acbef9bc0966b94af4d162dd25112/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:136:10: fatal error: sys/ea.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/proplist.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1a1827da49def731b54ef93ddc449af8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1a1827da49def731b54ef93ddc449af8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:136:10: fatal error: sys/proplist.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/cdefs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_927522fc502e8853bc88a74849ef3bec/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_927522fc502e8853bc88a74849ef3bec/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header utmp.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_396fb60a433146bbd8f708d110a5cfb5/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_396fb60a433146bbd8f708d110a5cfb5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header utmpx.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_22e60547f8d0f240bae60598a6d405a5/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_22e60547f8d0f240bae60598a6d405a5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header lastlog.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_89b22da66d58b30f3e159e099b83cca4/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_89b22da66d58b30f3e159e099b83cca4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header syscall.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_049071da155ef63128a2d8f3dae93031/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_049071da155ef63128a2d8f3dae93031/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/syscall.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5bb66717ac141b18e4e7070408252015/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5bb66717ac141b18e4e7070408252015/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/atomic.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_558e013bd758095d625e74c1dfa7b296/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_558e013bd758095d625e74c1dfa7b296/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:142:10: fatal error: sys/atomic.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header stdatomic.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_3732f80ebbdfd61da5d80c9544b06f37/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3732f80ebbdfd61da5d80c9544b06f37/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header libgen.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_398997bbae2dc9b99a6015e4edab255d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_398997bbae2dc9b99a6015e4edab255d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking compiler accepts -Wno-format-truncation ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_05203309f61d1e49aa09eb4f67cee6a8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-format-truncation', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_05203309f61d1e49aa09eb4f67cee6a8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking compiler accepts -Wno-unused-function ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_fb6cfb0ac2d89bc947b096ec916020f0/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-unused-function', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fb6cfb0ac2d89bc947b096ec916020f0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking compiler accepts -Wno-strict-overflow ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_679463ccbe18566a46efee966e03cf21/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-strict-overflow', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_679463ccbe18566a46efee966e03cf21/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for header sys/prctl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7a15acfbefa456affb33e632f6563060/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7a15acfbefa456affb33e632f6563060/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for prctl syscall ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #include int main(void) { prctl(0); return 0; } ; return 0; } <== [1/2] Compiling bin/.conf_check_d66e868c71e77737514675c4e3a1d331/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d66e868c71e77737514675c4e3a1d331/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d66e868c71e77737514675c4e3a1d331/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d66e868c71e77737514675c4e3a1d331/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for O_DIRECT flag to open(2) ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef HAVE_FCNTL_H #include #endif int main(void) { int fd = open("/dev/null", O_DIRECT); } <== [1/2] Compiling bin/.conf_check_184180aa76031157c05fef3df9fe0acd/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_184180aa76031157c05fef3df9fe0acd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_184180aa76031157c05fef3df9fe0acd/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_184180aa76031157c05fef3df9fe0acd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for long long ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { long long _x; return 0; } <== [1/1] Compiling bin/.conf_check_673b0effa1c007a3ae4f3d6eeb0ec7b6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_673b0effa1c007a3ae4f3d6eeb0ec7b6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for intptr_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { intptr_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_a9af0bcad14c4189ece9227197426c1e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a9af0bcad14c4189ece9227197426c1e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for uintptr_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { uintptr_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_0a32e60717a2aac129d073321e7f8f55/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0a32e60717a2aac129d073321e7f8f55/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for ptrdiff_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { ptrdiff_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_43c73e2d572f760b70d0031d200928a7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_43c73e2d572f760b70d0031d200928a7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for comparison_fn_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { comparison_fn_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_3bf0b3542bd76fd226dab48cc481346e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3bf0b3542bd76fd226dab48cc481346e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for _Bool ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { _Bool _x; return 0; } <== [1/1] Compiling bin/.conf_check_85e1c5104b5e073f9a5558589de290e6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_85e1c5104b5e073f9a5558589de290e6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for bool ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { bool _x; return 0; } <== [1/1] Compiling bin/.conf_check_077ad9abff29f95fdab9ee800b1fc7dd/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_077ad9abff29f95fdab9ee800b1fc7dd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for int8_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int8_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_2ee3b99cd4b364a33e105a837cd24a59/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2ee3b99cd4b364a33e105a837cd24a59/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for uint8_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { uint8_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_810a385168789117b2d98cefdf751268/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_810a385168789117b2d98cefdf751268/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for int16_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int16_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_b7a7e3c342b644176c2b8f1c8097ba0a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b7a7e3c342b644176c2b8f1c8097ba0a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for uint16_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { uint16_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_bd4315d5fcd86dd00b522aa0cea427a6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bd4315d5fcd86dd00b522aa0cea427a6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for int32_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int32_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_3fcc014a46c6ca2623586b607afd1fee/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3fcc014a46c6ca2623586b607afd1fee/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for uint32_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { uint32_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_bc6994829f9650e3880aa83f35008323/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bc6994829f9650e3880aa83f35008323/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for int64_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int64_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_b3003b8a8070c48d3b567636245e5eac/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b3003b8a8070c48d3b567636245e5eac/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for uint64_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { uint64_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_a03d3a4cf13d6e192c546ce4c25e74ce/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a03d3a4cf13d6e192c546ce4c25e74ce/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for size_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { size_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_8c8cfd2f79159ace00b56e98966a0782/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8c8cfd2f79159ace00b56e98966a0782/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for ssize_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { ssize_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_2c538ecbee12d2aebf716086a1ca866c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2c538ecbee12d2aebf716086a1ca866c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for ino_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { ino_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_cdbf55e1bc4bfbd88c0fa05b9056c252/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cdbf55e1bc4bfbd88c0fa05b9056c252/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for loff_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { loff_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_fc74d5b6f0e037f2bfe54c16c3e4b515/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fc74d5b6f0e037f2bfe54c16c3e4b515/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for offset_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { offset_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_9089f75f98137d314536087f4230d3cd/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9089f75f98137d314536087f4230d3cd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:170:19: error: unknown type name 'offset_t'; did you mean 'offsetof'? int main(void) { offset_t _x; return 0; } ^~~~~~~~ offsetof from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for volatile int ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { volatile int _x; return 0; } <== [1/1] Compiling bin/.conf_check_5f2ca08a5b859494d550eb406f2d6e5e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5f2ca08a5b859494d550eb406f2d6e5e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for uint_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { uint_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_2e0d67eb95a79699539695439d1f2dc8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2e0d67eb95a79699539695439d1f2dc8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:173:19: error: unknown type name 'uint_t'; did you mean 'uint8_t'? int main(void) { uint_t _x; return 0; } ^~~~~~ uint8_t from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for blksize_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { blksize_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_646f0252c48865d953b872ea2c891416/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_646f0252c48865d953b872ea2c891416/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for blkcnt_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { blkcnt_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_539b03a3aff87449d917cd2ee71e6e98/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_539b03a3aff87449d917cd2ee71e6e98/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking if size of bool == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(bool))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_1b52752356cb694b535b53ceaa68e9b7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1b52752356cb694b535b53ceaa68e9b7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1b52752356cb694b535b53ceaa68e9b7/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1b52752356cb694b535b53ceaa68e9b7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of char == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(char))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_3856e21a2126fd8754a2b01d462fecc0/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3856e21a2126fd8754a2b01d462fecc0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3856e21a2126fd8754a2b01d462fecc0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3856e21a2126fd8754a2b01d462fecc0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of int == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_7815f620202c8458bb16c8d279112430/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7815f620202c8458bb16c8d279112430/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:179:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 /* #undef SIZEOF_INT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_d96609a198a9e75691980140a5911097/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d96609a198a9e75691980140a5911097/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:180:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 /* #undef SIZEOF_INT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_1101a80267148f8331bd2c1b9fe54011/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1101a80267148f8331bd2c1b9fe54011/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1101a80267148f8331bd2c1b9fe54011/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1101a80267148f8331bd2c1b9fe54011/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of long long == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_34e6463dbb81f0eb1f208cfbf7be6ce6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_34e6463dbb81f0eb1f208cfbf7be6ce6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:180:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long long == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 /* #undef SIZEOF_LONG_LONG */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_b5bfc56462c1949e55d6ba92a432bb5a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b5bfc56462c1949e55d6ba92a432bb5a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:181:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long long == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 /* #undef SIZEOF_LONG_LONG */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_b657c777247d9a2079096ee644b3d89c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b657c777247d9a2079096ee644b3d89c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:181:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 4)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long long == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 /* #undef SIZEOF_LONG_LONG */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 8)];; return 0; } <== [1/2] Compiling bin/.conf_check_267e35e9b5e321670ed095be24b59a3b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_267e35e9b5e321670ed095be24b59a3b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_267e35e9b5e321670ed095be24b59a3b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_267e35e9b5e321670ed095be24b59a3b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of long == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_c91ae2d55cc45e90bd95879dea39b076/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c91ae2d55cc45e90bd95879dea39b076/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:181:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 /* #undef SIZEOF_LONG */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_1f6be3737a9340fe4f52595bd5b5ae3e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1f6be3737a9340fe4f52595bd5b5ae3e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:182:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 /* #undef SIZEOF_LONG */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_917a1f0242eaa2153a8ec7151f72b19d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_917a1f0242eaa2153a8ec7151f72b19d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:182:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 4)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 /* #undef SIZEOF_LONG */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 8)];; return 0; } <== [1/2] Compiling bin/.conf_check_20178a57813ba689787ac29f1e51c8d6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_20178a57813ba689787ac29f1e51c8d6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_20178a57813ba689787ac29f1e51c8d6/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_20178a57813ba689787ac29f1e51c8d6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of short == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_185d1f4600923a90bff4011946508f53/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_185d1f4600923a90bff4011946508f53/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:182:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of short == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 /* #undef SIZEOF_SHORT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_a879fd64277741f77117f528e9e41426/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a879fd64277741f77117f528e9e41426/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a879fd64277741f77117f528e9e41426/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a879fd64277741f77117f528e9e41426/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of size_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_821a8ea1d4d57eb1f51c5cdf52fc8607/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_821a8ea1d4d57eb1f51c5cdf52fc8607/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:183:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of size_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 /* #undef SIZEOF_SIZE_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_413ab7d9f0f0b0b09b3d011ac491c614/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_413ab7d9f0f0b0b09b3d011ac491c614/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:184:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of size_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 /* #undef SIZEOF_SIZE_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_aab607c5a81333fc58870fe67003a046/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_aab607c5a81333fc58870fe67003a046/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:184:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of size_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 /* #undef SIZEOF_SIZE_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 8)];; return 0; } <== [1/2] Compiling bin/.conf_check_6c870e1a55d7bec5d747478d1d2fc735/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6c870e1a55d7bec5d747478d1d2fc735/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6c870e1a55d7bec5d747478d1d2fc735/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6c870e1a55d7bec5d747478d1d2fc735/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of ssize_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_33812cf4e028ed14983727f848cd7577/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_33812cf4e028ed14983727f848cd7577/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:184:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ssize_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 /* #undef SIZEOF_SSIZE_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_0cbf74268757c45b4c386ef05f321464/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0cbf74268757c45b4c386ef05f321464/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:185:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ssize_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 /* #undef SIZEOF_SSIZE_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_cd1b006199b498b306d52f6c3d2b5bad/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cd1b006199b498b306d52f6c3d2b5bad/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:185:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ssize_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 /* #undef SIZEOF_SSIZE_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 8)];; return 0; } <== [1/2] Compiling bin/.conf_check_bd18a4e50e400ce5d020517c1ce755d5/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bd18a4e50e400ce5d020517c1ce755d5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_bd18a4e50e400ce5d020517c1ce755d5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bd18a4e50e400ce5d020517c1ce755d5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of int8_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int8_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_f0c366480aba5b7eb1639cb969babe21/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f0c366480aba5b7eb1639cb969babe21/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f0c366480aba5b7eb1639cb969babe21/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f0c366480aba5b7eb1639cb969babe21/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of uint8_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint8_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_c472eedb07592d01095d85698615f99b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c472eedb07592d01095d85698615f99b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c472eedb07592d01095d85698615f99b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c472eedb07592d01095d85698615f99b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of int16_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_d6c974f563690bba430ea0f0b8d8c307/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d6c974f563690bba430ea0f0b8d8c307/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:187:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int16_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 /* #undef SIZEOF_INT16_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_9a2107bf00bebd889988f55917c3f135/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9a2107bf00bebd889988f55917c3f135/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9a2107bf00bebd889988f55917c3f135/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9a2107bf00bebd889988f55917c3f135/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of uint16_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_1f12ff169464010d2357ef94fe20ea1f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1f12ff169464010d2357ef94fe20ea1f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:188:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of uint16_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 /* #undef SIZEOF_UINT16_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_4e08e779e7cc6106e3260f88d1239ab8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4e08e779e7cc6106e3260f88d1239ab8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4e08e779e7cc6106e3260f88d1239ab8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4e08e779e7cc6106e3260f88d1239ab8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of int32_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_1b4c8438a7714ba4418fe222996da423/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1b4c8438a7714ba4418fe222996da423/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:189:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int32_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 /* #undef SIZEOF_INT32_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_81fef4d4b7e02f451688c5f96e65e889/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_81fef4d4b7e02f451688c5f96e65e889/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:190:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int32_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 /* #undef SIZEOF_INT32_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_aa041e0a3e1b6245c5febf8a5a0537a1/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_aa041e0a3e1b6245c5febf8a5a0537a1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_aa041e0a3e1b6245c5febf8a5a0537a1/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_aa041e0a3e1b6245c5febf8a5a0537a1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of uint32_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_1ad81280fde191d6519d3cb063806288/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1ad81280fde191d6519d3cb063806288/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:190:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of uint32_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 /* #undef SIZEOF_UINT32_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_3843ca7b846081ae1112b3aaf60a8dcc/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3843ca7b846081ae1112b3aaf60a8dcc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:191:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of uint32_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 /* #undef SIZEOF_UINT32_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_08fd4a716e94275dea4370e852b54f78/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_08fd4a716e94275dea4370e852b54f78/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_08fd4a716e94275dea4370e852b54f78/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_08fd4a716e94275dea4370e852b54f78/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of int64_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_5a77f61236e3930e1af4a06d1e988a02/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5a77f61236e3930e1af4a06d1e988a02/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:191:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int64_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 /* #undef SIZEOF_INT64_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_40b3aafb23abc77e93cc10c62c591199/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_40b3aafb23abc77e93cc10c62c591199/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:192:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int64_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 /* #undef SIZEOF_INT64_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_cc45a9126e25d940ee957bd8f7f243fe/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cc45a9126e25d940ee957bd8f7f243fe/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:192:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int64_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 /* #undef SIZEOF_INT64_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 8)];; return 0; } <== [1/2] Compiling bin/.conf_check_3ae3e658de22f6107fc3181874ccdc56/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3ae3e658de22f6107fc3181874ccdc56/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3ae3e658de22f6107fc3181874ccdc56/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3ae3e658de22f6107fc3181874ccdc56/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of uint64_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_cbe29f1320e79daa7a42ecfcd29870ba/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cbe29f1320e79daa7a42ecfcd29870ba/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:192:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of uint64_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 /* #undef SIZEOF_UINT64_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_3fd66afe14c222901099e62e2baea4a5/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3fd66afe14c222901099e62e2baea4a5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:193:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of uint64_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 /* #undef SIZEOF_UINT64_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_846f87214d1fb23183364d1d249007af/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_846f87214d1fb23183364d1d249007af/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:193:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of uint64_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 /* #undef SIZEOF_UINT64_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 8)];; return 0; } <== [1/2] Compiling bin/.conf_check_b561f913f989653aca50ab46604ca1ea/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b561f913f989653aca50ab46604ca1ea/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b561f913f989653aca50ab46604ca1ea/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b561f913f989653aca50ab46604ca1ea/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of void* == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_7f2ae40cc4fcc4c870bb12ea0ec09952/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7f2ae40cc4fcc4c870bb12ea0ec09952/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:193:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of void* == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 /* #undef SIZEOF_VOID_P */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_e1c22d2f3fb4c90f112cc5e4bc4792ed/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e1c22d2f3fb4c90f112cc5e4bc4792ed/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:194:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of void* == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 /* #undef SIZEOF_VOID_P */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_5c00ac0ac9e28754102fa4443d9da750/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5c00ac0ac9e28754102fa4443d9da750/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:194:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 4)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of void* == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 /* #undef SIZEOF_VOID_P */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 8)];; return 0; } <== [1/2] Compiling bin/.conf_check_a751fda2f18547a1e463bf824f060d67/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a751fda2f18547a1e463bf824f060d67/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a751fda2f18547a1e463bf824f060d67/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a751fda2f18547a1e463bf824f060d67/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of off_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_02e871cf79164fb701cad688c48a1138/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_02e871cf79164fb701cad688c48a1138/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:194:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of off_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 /* #undef SIZEOF_OFF_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_81809a0ddf6da37d5f367f19aab0bd1f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_81809a0ddf6da37d5f367f19aab0bd1f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:195:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of off_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 /* #undef SIZEOF_OFF_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_41ebec39d9353196cc0331f8d17dd8ce/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_41ebec39d9353196cc0331f8d17dd8ce/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:195:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of off_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 /* #undef SIZEOF_OFF_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 8)];; return 0; } <== [1/2] Compiling bin/.conf_check_192169f3939481c4e837f809be7c9ace/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_192169f3939481c4e837f809be7c9ace/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_192169f3939481c4e837f809be7c9ace/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_192169f3939481c4e837f809be7c9ace/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of dev_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_41ec90164597e977e8bb158c4d6acb27/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_41ec90164597e977e8bb158c4d6acb27/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:195:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of dev_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 /* #undef SIZEOF_DEV_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_a6264d147cf78790b14f85bdf854b66a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a6264d147cf78790b14f85bdf854b66a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:196:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of dev_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 /* #undef SIZEOF_DEV_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_27a573ea5973f46bbfe8b021d103554d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_27a573ea5973f46bbfe8b021d103554d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:196:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of dev_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 /* #undef SIZEOF_DEV_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 8)];; return 0; } <== [1/2] Compiling bin/.conf_check_00afc56233325f3e49d12611edc2a340/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_00afc56233325f3e49d12611edc2a340/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_00afc56233325f3e49d12611edc2a340/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_00afc56233325f3e49d12611edc2a340/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of ino_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_929bae63ed84fef02813325f662a55c1/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_929bae63ed84fef02813325f662a55c1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:196:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ino_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 /* #undef SIZEOF_INO_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_39283cc2c02891b85de1ab136c7fd979/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_39283cc2c02891b85de1ab136c7fd979/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:197:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ino_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 /* #undef SIZEOF_INO_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_a329393504f134fe0dc9b625cb2bbc3d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a329393504f134fe0dc9b625cb2bbc3d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:197:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ino_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 /* #undef SIZEOF_INO_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 8)];; return 0; } <== [1/2] Compiling bin/.conf_check_0889a425a3d64fbc8b6430b2f6b1ce2e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0889a425a3d64fbc8b6430b2f6b1ce2e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0889a425a3d64fbc8b6430b2f6b1ce2e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0889a425a3d64fbc8b6430b2f6b1ce2e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking if size of time_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_00f7f97c23296e76498bd42f302a6a7d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_00f7f97c23296e76498bd42f302a6a7d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:197:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of time_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 /* #undef SIZEOF_TIME_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_8141d31fd226cdf003f614c65257863a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8141d31fd226cdf003f614c65257863a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:198:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of time_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 /* #undef SIZEOF_TIME_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_1753f31845a6e1c05eb505b0a4505529/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1753f31845a6e1c05eb505b0a4505529/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:198:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 4)];; return 0; } ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of time_t == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 /* #undef SIZEOF_TIME_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 8)];; return 0; } <== [1/2] Compiling bin/.conf_check_5da57895006d2428130a7250a8b68048/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5da57895006d2428130a7250a8b68048/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5da57895006d2428130a7250a8b68048/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5da57895006d2428130a7250a8b68048/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for socklen_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { socklen_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_667562b2a8237bc586305fe6c5fe2c64/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_667562b2a8237bc586305fe6c5fe2c64/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for struct ifaddrs ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct ifaddrs _x; return 0; } <== [1/1] Compiling bin/.conf_check_c5c74a78b1c38837c84458e8722ee184/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c5c74a78b1c38837c84458e8722ee184/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for struct addrinfo ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct addrinfo _x; return 0; } <== [1/1] Compiling bin/.conf_check_f067ace6e15dcb6cc4ffd6ec27ec56d7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f067ace6e15dcb6cc4ffd6ec27ec56d7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for struct sockaddr ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr _x; return 0; } <== [1/1] Compiling bin/.conf_check_e4d1f8d16797fad10ecc4fab7f2c3573/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e4d1f8d16797fad10ecc4fab7f2c3573/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for HAVE_STRUCT_SOCKADDR_IN6 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_in6 x; return 0; } <== [1/2] Compiling bin/.conf_check_ee5c7d05039e461c4938285909b9574f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ee5c7d05039e461c4938285909b9574f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ee5c7d05039e461c4938285909b9574f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ee5c7d05039e461c4938285909b9574f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for struct sockaddr_storage ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_storage _x; return 0; } <== [1/1] Compiling bin/.conf_check_303dc1682ce1731607d1f282507e35a3/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_303dc1682ce1731607d1f282507e35a3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for sa_family_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { sa_family_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_277b51ca8c0056dd2c866c9075f5c2df/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_277b51ca8c0056dd2c866c9075f5c2df/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for sig_atomic_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { sig_atomic_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_0830b0ceb569372a94ac2a721ae38581/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0830b0ceb569372a94ac2a721ae38581/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for sigsetmask ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define sigsetmask __fake__sigsetmask #ifdef HAVE_LIMITS_H # include #else # include #endif #undef sigsetmask #if defined __stub_sigsetmask || defined __stub___sigsetmask #error "bad glibc stub" #endif extern char sigsetmask(); int main() { return sigsetmask(); } <== [1/2] Compiling bin/.conf_check_375651b2b0c6d08504296254961d863c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_375651b2b0c6d08504296254961d863c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_375651b2b0c6d08504296254961d863c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_375651b2b0c6d08504296254961d863c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for siggetmask ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define siggetmask __fake__siggetmask #ifdef HAVE_LIMITS_H # include #else # include #endif #undef siggetmask #if defined __stub_siggetmask || defined __stub___siggetmask #error "bad glibc stub" #endif extern char siggetmask(); int main() { return siggetmask(); } <== [1/2] Compiling bin/.conf_check_82db0103ea632f475ed1a1fcf9c9b1fe/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_82db0103ea632f475ed1a1fcf9c9b1fe/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_82db0103ea632f475ed1a1fcf9c9b1fe/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_82db0103ea632f475ed1a1fcf9c9b1fe/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): warning: warning: `siggetmask' is obsolete; `sigprocmask' is best ok -------------------------------------------------------- Checking for sigprocmask ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define sigprocmask __fake__sigprocmask #ifdef HAVE_LIMITS_H # include #else # include #endif #undef sigprocmask #if defined __stub_sigprocmask || defined __stub___sigprocmask #error "bad glibc stub" #endif extern char sigprocmask(); int main() { return sigprocmask(); } <== [1/2] Compiling bin/.conf_check_4659eccdaf0aeff18982ee597c55e31b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4659eccdaf0aeff18982ee597c55e31b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4659eccdaf0aeff18982ee597c55e31b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4659eccdaf0aeff18982ee597c55e31b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for sigblock ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define sigblock __fake__sigblock #ifdef HAVE_LIMITS_H # include #else # include #endif #undef sigblock #if defined __stub_sigblock || defined __stub___sigblock #error "bad glibc stub" #endif extern char sigblock(); int main() { return sigblock(); } <== [1/2] Compiling bin/.conf_check_835e3f8b60f5e2bc04d9b62d9aff1bf5/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_835e3f8b60f5e2bc04d9b62d9aff1bf5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_835e3f8b60f5e2bc04d9b62d9aff1bf5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_835e3f8b60f5e2bc04d9b62d9aff1bf5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for sigaction ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define sigaction __fake__sigaction #ifdef HAVE_LIMITS_H # include #else # include #endif #undef sigaction #if defined __stub_sigaction || defined __stub___sigaction #error "bad glibc stub" #endif extern char sigaction(); int main() { return sigaction(); } <== [1/2] Compiling bin/.conf_check_0b5f673383ef8371f597695b91f02a98/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0b5f673383ef8371f597695b91f02a98/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0b5f673383ef8371f597695b91f02a98/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0b5f673383ef8371f597695b91f02a98/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for sigset ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define sigset __fake__sigset #ifdef HAVE_LIMITS_H # include #else # include #endif #undef sigset #if defined __stub_sigset || defined __stub___sigset #error "bad glibc stub" #endif extern char sigset(); int main() { return sigset(); } <== [1/2] Compiling bin/.conf_check_4c3726eed410e87b752b2923a4a03aa8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4c3726eed410e87b752b2923a4a03aa8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4c3726eed410e87b752b2923a4a03aa8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4c3726eed410e87b752b2923a4a03aa8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for inet_ntoa ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define inet_ntoa __fake__inet_ntoa #ifdef HAVE_LIMITS_H # include #else # include #endif #undef inet_ntoa #if defined __stub_inet_ntoa || defined __stub___inet_ntoa #error "bad glibc stub" #endif extern char inet_ntoa(); int main() { return inet_ntoa(); } <== [1/2] Compiling bin/.conf_check_e41c11c5f3fe89c9e92d3c551aed6ecc/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e41c11c5f3fe89c9e92d3c551aed6ecc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e41c11c5f3fe89c9e92d3c551aed6ecc/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e41c11c5f3fe89c9e92d3c551aed6ecc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for inet_aton ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define inet_aton __fake__inet_aton #ifdef HAVE_LIMITS_H # include #else # include #endif #undef inet_aton #if defined __stub_inet_aton || defined __stub___inet_aton #error "bad glibc stub" #endif extern char inet_aton(); int main() { return inet_aton(); } <== [1/2] Compiling bin/.conf_check_60301b77fb7ac4aee0e32196354c78bf/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_60301b77fb7ac4aee0e32196354c78bf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_60301b77fb7ac4aee0e32196354c78bf/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_60301b77fb7ac4aee0e32196354c78bf/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for inet_ntop ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define inet_ntop __fake__inet_ntop #ifdef HAVE_LIMITS_H # include #else # include #endif #undef inet_ntop #if defined __stub_inet_ntop || defined __stub___inet_ntop #error "bad glibc stub" #endif extern char inet_ntop(); int main() { return inet_ntop(); } <== [1/2] Compiling bin/.conf_check_dfddd44ab8f2ba19a632f657a3ddc306/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_dfddd44ab8f2ba19a632f657a3ddc306/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_dfddd44ab8f2ba19a632f657a3ddc306/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_dfddd44ab8f2ba19a632f657a3ddc306/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for inet_pton ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define inet_pton __fake__inet_pton #ifdef HAVE_LIMITS_H # include #else # include #endif #undef inet_pton #if defined __stub_inet_pton || defined __stub___inet_pton #error "bad glibc stub" #endif extern char inet_pton(); int main() { return inet_pton(); } <== [1/2] Compiling bin/.conf_check_2c3e4f385860e722d6516f04ae494340/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2c3e4f385860e722d6516f04ae494340/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2c3e4f385860e722d6516f04ae494340/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2c3e4f385860e722d6516f04ae494340/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for connect ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define connect __fake__connect #ifdef HAVE_LIMITS_H # include #else # include #endif #undef connect #if defined __stub_connect || defined __stub___connect #error "bad glibc stub" #endif extern char connect(); int main() { return connect(); } <== [1/2] Compiling bin/.conf_check_06be3dfd49cf090886c1e089e11fa75d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_06be3dfd49cf090886c1e089e11fa75d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_06be3dfd49cf090886c1e089e11fa75d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_06be3dfd49cf090886c1e089e11fa75d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for gethostbyname ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define gethostbyname __fake__gethostbyname #ifdef HAVE_LIMITS_H # include #else # include #endif #undef gethostbyname #if defined __stub_gethostbyname || defined __stub___gethostbyname #error "bad glibc stub" #endif extern char gethostbyname(); int main() { return gethostbyname(); } <== [1/2] Compiling bin/.conf_check_5c6221686b443df913e7d86df4d05016/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5c6221686b443df913e7d86df4d05016/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5c6221686b443df913e7d86df4d05016/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5c6221686b443df913e7d86df4d05016/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for getaddrinfo ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define getaddrinfo __fake__getaddrinfo #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getaddrinfo #if defined __stub_getaddrinfo || defined __stub___getaddrinfo #error "bad glibc stub" #endif extern char getaddrinfo(); int main() { return getaddrinfo(); } <== [1/2] Compiling bin/.conf_check_553f1447a89acb5af9adc9cf6249edb1/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_553f1447a89acb5af9adc9cf6249edb1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_553f1447a89acb5af9adc9cf6249edb1/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_553f1447a89acb5af9adc9cf6249edb1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for getnameinfo ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define getnameinfo __fake__getnameinfo #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getnameinfo #if defined __stub_getnameinfo || defined __stub___getnameinfo #error "bad glibc stub" #endif extern char getnameinfo(); int main() { return getnameinfo(); } <== [1/2] Compiling bin/.conf_check_ebe9476bf5c68c83ef1829be0a297b1c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ebe9476bf5c68c83ef1829be0a297b1c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ebe9476bf5c68c83ef1829be0a297b1c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ebe9476bf5c68c83ef1829be0a297b1c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for freeaddrinfo ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define freeaddrinfo __fake__freeaddrinfo #ifdef HAVE_LIMITS_H # include #else # include #endif #undef freeaddrinfo #if defined __stub_freeaddrinfo || defined __stub___freeaddrinfo #error "bad glibc stub" #endif extern char freeaddrinfo(); int main() { return freeaddrinfo(); } <== [1/2] Compiling bin/.conf_check_dd09285e68ccfaeb988f3d834bc844b9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_dd09285e68ccfaeb988f3d834bc844b9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_dd09285e68ccfaeb988f3d834bc844b9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_dd09285e68ccfaeb988f3d834bc844b9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for gai_strerror ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define gai_strerror __fake__gai_strerror #ifdef HAVE_LIMITS_H # include #else # include #endif #undef gai_strerror #if defined __stub_gai_strerror || defined __stub___gai_strerror #error "bad glibc stub" #endif extern char gai_strerror(); int main() { return gai_strerror(); } <== [1/2] Compiling bin/.conf_check_2af786610b40e3b4c4b85b14d63fd606/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2af786610b40e3b4c4b85b14d63fd606/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2af786610b40e3b4c4b85b14d63fd606/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2af786610b40e3b4c4b85b14d63fd606/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for socketpair ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define socketpair __fake__socketpair #ifdef HAVE_LIMITS_H # include #else # include #endif #undef socketpair #if defined __stub_socketpair || defined __stub___socketpair #error "bad glibc stub" #endif extern char socketpair(); int main() { return socketpair(); } <== [1/2] Compiling bin/.conf_check_5c5c1899404e194a3687de6e9956cfc0/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5c5c1899404e194a3687de6e9956cfc0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5c5c1899404e194a3687de6e9956cfc0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5c5c1899404e194a3687de6e9956cfc0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for memset_s ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 #define memset_s __fake__memset_s #ifdef HAVE_LIMITS_H # include #else # include #endif #undef memset_s #if defined __stub_memset_s || defined __stub___memset_s #error "bad glibc stub" #endif extern char memset_s(); int main() { return memset_s(); } <== [1/2] Compiling bin/.conf_check_5b27b57cf780779f5edee238116de432/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5b27b57cf780779f5edee238116de432/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5b27b57cf780779f5edee238116de432/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5b27b57cf780779f5edee238116de432/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `memset_s' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)memset_s; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_b1433c867d1ddbbe89a0cef59f4e07ff/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b1433c867d1ddbbe89a0cef59f4e07ff/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:224:39: error: 'memset_s' undeclared (first use in this function); did you mean 'memset'? int main(void) { void *__x = (void *)memset_s; return (int)__x; return 0; } ^~~~~~~~ memset ../../test.c:224:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:224:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)memset_s; return (int)__x; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for memset_explicit ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ #define memset_explicit __fake__memset_explicit #ifdef HAVE_LIMITS_H # include #else # include #endif #undef memset_explicit #if defined __stub_memset_explicit || defined __stub___memset_explicit #error "bad glibc stub" #endif extern char memset_explicit(); int main() { return memset_explicit(); } <== [1/2] Compiling bin/.conf_check_6efe50155a48132054b61932dc8f1513/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6efe50155a48132054b61932dc8f1513/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6efe50155a48132054b61932dc8f1513/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6efe50155a48132054b61932dc8f1513/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `memset_explicit' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)memset_explicit; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_2be2bcc9d03b5f9497e9c4b2094f656a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2be2bcc9d03b5f9497e9c4b2094f656a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:225:39: error: 'memset_explicit' undeclared (first use in this function) int main(void) { void *__x = (void *)memset_explicit; return (int)__x; return 0; } ^~~~~~~~~~~~~~~ ../../test.c:225:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:225:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)memset_explicit; return (int)__x; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for volatile memory protection ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { char buf[] = "This is some content"; memset(buf, '', sizeof(buf)); __asm__ volatile("" : : "g"(&buf) : "memory"); return 0; } <== [1/2] Compiling bin/.conf_check_a6c8fb47b50b51842f5048d89dc1c64e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a6c8fb47b50b51842f5048d89dc1c64e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:231:37: warning: null character(s) preserved in literal memset(buf, ' ', sizeof(buf)); __asm__ volatile("" : : "g"(&buf) : "memory"); ^ [2/2] Linking bin/.conf_check_a6c8fb47b50b51842f5048d89dc1c64e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a6c8fb47b50b51842f5048d89dc1c64e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for variable IPV6_V6ONLY ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef IPV6_V6ONLY void *_x; _x=(void *)&IPV6_V6ONLY; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_b83466691deeb8053e4d3e378c511ef9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b83466691deeb8053e4d3e378c511ef9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok -------------------------------------------------------- Checking for header net/if.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8741a12a059361e1ebc99a422ccebd9f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8741a12a059361e1ebc99a422ccebd9f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- Checking for HAVE_IPV6 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_storage sa_store; struct addrinfo *ai = NULL; struct in6_addr in6addr; int idx = if_nametoindex("iface1"); int s = socket(AF_INET6, SOCK_STREAM, 0); int ret = getaddrinfo(NULL, NULL, NULL, &ai); if (ret != 0) { const char *es = gai_strerror(ret); } freeaddrinfo(ai); { int val = 1; #ifdef HAVE_LINUX_IPV6_V6ONLY_26 #define IPV6_V6ONLY 26 #endif ret = setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, (const void *)&val, sizeof(val)); } ; return 0; } <== [1/2] Compiling bin/.conf_check_5dd33f57b91173b30a879f179a7bcd8b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5dd33f57b91173b30a879f179a7bcd8b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5dd33f57b91173b30a879f179a7bcd8b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5dd33f57b91173b30a879f179a7bcd8b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking whether we have ucontext_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { ucontext_t uc; sigaddset(&uc.uc_sigmask, SIGUSR1); ; return 0; } <== [1/2] Compiling bin/.conf_check_8a6c21716ad7d36f7f7d613f9821f1a4/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8a6c21716ad7d36f7f7d613f9821f1a4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8a6c21716ad7d36f7f7d613f9821f1a4/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8a6c21716ad7d36f7f7d613f9821f1a4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for __sync_fetch_and_add compiler builtin ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int i; (void)__sync_fetch_and_add(&i, 1); ; return 0; } <== [1/2] Compiling bin/.conf_check_38d98d2fc8e3d45a7454b84d59ed42cb/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_38d98d2fc8e3d45a7454b84d59ed42cb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_38d98d2fc8e3d45a7454b84d59ed42cb/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_38d98d2fc8e3d45a7454b84d59ed42cb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok -------------------------------------------------------- Checking for atomic_add_32 compiler builtin ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int32_t i; atomic_add_32(&i, 1); ; return 0; } <== [1/2] Compiling bin/.conf_check_c74487112e993d8c1b51b737c58efe1f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c74487112e993d8c1b51b737c58efe1f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:234:21: warning: implicit declaration of function 'atomic_add_32'; did you mean '__atomic_load_2'? [-Wimplicit-function-declaration] atomic_add_32(&i, 1); ^~~~~~~~~~~~~ __atomic_load_2 [2/2] Linking bin/.conf_check_c74487112e993d8c1b51b737c58efe1f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c74487112e993d8c1b51b737c58efe1f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x20): undefined reference to `atomic_add_32' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for atomic_thread_fence(memory_order_seq_cst) in stdatomic.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { atomic_thread_fence(memory_order_seq_cst);; return 0; } <== [1/2] Compiling bin/.conf_check_23bf10d8a528d30e5849a421003a7b14/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_23bf10d8a528d30e5849a421003a7b14/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_23bf10d8a528d30e5849a421003a7b14/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_23bf10d8a528d30e5849a421003a7b14/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for fallthrough attribute ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define FALL_THROUGH __attribute__((fallthrough)) enum direction_e { UP = 0, DOWN, }; int main(void) { enum direction_e key = UP; int i = 10; int j = 0; switch (key) { case UP: i = 5; FALL_THROUGH; case DOWN: j = i * 2; break; default: break; } if (j < i) { return 1; } return 0; } <== [1/2] Compiling bin/.conf_check_7548d90c440b15a98d90840aab09642f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror=missing-declarations', '-Werror', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7548d90c440b15a98d90840aab09642f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7548d90c440b15a98d90840aab09642f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7548d90c440b15a98d90840aab09642f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for strdup ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef strdup void *_x; _x=(void *)&strdup; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_ef67ed04f7f1946eef61a8d9e66d9216/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ef67ed04f7f1946eef61a8d9e66d9216/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:237:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&strdup; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for memmem ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef memmem void *_x; _x=(void *)&memmem; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_13c628bb43a020efd3b2ec4ecdfb8f0f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_13c628bb43a020efd3b2ec4ecdfb8f0f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:238:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&memmem; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for printf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef printf void *_x; _x=(void *)&printf; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_d7c8e1a14a660a74abeabcf75a47e472/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d7c8e1a14a660a74abeabcf75a47e472/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:239:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&printf; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for memset ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef memset void *_x; _x=(void *)&memset; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_156d81c2b61ed05896ed11e518179851/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_156d81c2b61ed05896ed11e518179851/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:240:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&memset; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for memcpy ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef memcpy void *_x; _x=(void *)&memcpy; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_e9c18f63c15829816368375153443004/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e9c18f63c15829816368375153443004/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:241:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&memcpy; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for memmove ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef memmove void *_x; _x=(void *)&memmove; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_22a703de8289671fb25c5467a463b57b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_22a703de8289671fb25c5467a463b57b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:242:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&memmove; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for strcpy ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef strcpy void *_x; _x=(void *)&strcpy; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_7e363e8c8e7b7666b3d37ec5ec5041dc/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7e363e8c8e7b7666b3d37ec5ec5041dc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:243:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&strcpy; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for strncpy ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef strncpy void *_x; _x=(void *)&strncpy; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_42947ec6331694efe438ab36701a87ef/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_42947ec6331694efe438ab36701a87ef/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:244:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&strncpy; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for bzero ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef bzero void *_x; _x=(void *)&bzero; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_17930650b387c7df8ee4a4a94cd71243/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_17930650b387c7df8ee4a4a94cd71243/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:245:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&bzero; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for shl_load ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 #define shl_load __fake__shl_load #ifdef HAVE_LIMITS_H # include #else # include #endif #undef shl_load #if defined __stub_shl_load || defined __stub___shl_load #error "bad glibc stub" #endif extern char shl_load(); int main() { return shl_load(); } <== [1/2] Compiling bin/.conf_check_104540cc0c8727632608b71f45fe5fcd/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_104540cc0c8727632608b71f45fe5fcd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_104540cc0c8727632608b71f45fe5fcd/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_104540cc0c8727632608b71f45fe5fcd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `shl_load' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)shl_load; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_80193319aca1c33c159de17079af61fb/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_80193319aca1c33c159de17079af61fb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:245:39: error: 'shl_load' undeclared (first use in this function) int main(void) { void *__x = (void *)shl_load; return (int)__x; return 0; } ^~~~~~~~ ../../test.c:245:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:245:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)shl_load; return (int)__x; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for shl_unload ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ #define shl_unload __fake__shl_unload #ifdef HAVE_LIMITS_H # include #else # include #endif #undef shl_unload #if defined __stub_shl_unload || defined __stub___shl_unload #error "bad glibc stub" #endif extern char shl_unload(); int main() { return shl_unload(); } <== [1/2] Compiling bin/.conf_check_df7f145500cba38995e57eab2e106653/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_df7f145500cba38995e57eab2e106653/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_df7f145500cba38995e57eab2e106653/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_df7f145500cba38995e57eab2e106653/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `shl_unload' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)shl_unload; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_339afb5089d1f821e21ab00f58bfaa36/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_339afb5089d1f821e21ab00f58bfaa36/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:246:39: error: 'shl_unload' undeclared (first use in this function) int main(void) { void *__x = (void *)shl_unload; return (int)__x; return 0; } ^~~~~~~~~~ ../../test.c:246:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:246:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)shl_unload; return (int)__x; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for shl_findsym ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ #define shl_findsym __fake__shl_findsym #ifdef HAVE_LIMITS_H # include #else # include #endif #undef shl_findsym #if defined __stub_shl_findsym || defined __stub___shl_findsym #error "bad glibc stub" #endif extern char shl_findsym(); int main() { return shl_findsym(); } <== [1/2] Compiling bin/.conf_check_ac2645c1a874e62586dba837b27d2b76/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ac2645c1a874e62586dba837b27d2b76/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ac2645c1a874e62586dba837b27d2b76/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ac2645c1a874e62586dba837b27d2b76/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `shl_findsym' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)shl_findsym; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_1d34cf8fa660eca1db170cc8da48748b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1d34cf8fa660eca1db170cc8da48748b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:247:39: error: 'shl_findsym' undeclared (first use in this function) int main(void) { void *__x = (void *)shl_findsym; return (int)__x; return 0; } ^~~~~~~~~~~ ../../test.c:247:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:247:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)shl_findsym; return (int)__x; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for pipe ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define pipe __fake__pipe #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pipe #if defined __stub_pipe || defined __stub___pipe #error "bad glibc stub" #endif extern char pipe(); int main() { return pipe(); } <== [1/2] Compiling bin/.conf_check_5e13fe4c2db8428b2691f0740ba91285/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5e13fe4c2db8428b2691f0740ba91285/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5e13fe4c2db8428b2691f0740ba91285/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5e13fe4c2db8428b2691f0740ba91285/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for strftime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define strftime __fake__strftime #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strftime #if defined __stub_strftime || defined __stub___strftime #error "bad glibc stub" #endif extern char strftime(); int main() { return strftime(); } <== [1/2] Compiling bin/.conf_check_586594b396c0fe2e070d817b05a01512/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_586594b396c0fe2e070d817b05a01512/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:245:38: warning: conflicting types for built-in function 'strftime' [-Wbuiltin-declaration-mismatch] extern char strftime(); ^~~~~~~~ [2/2] Linking bin/.conf_check_586594b396c0fe2e070d817b05a01512/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_586594b396c0fe2e070d817b05a01512/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for srandom ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define srandom __fake__srandom #ifdef HAVE_LIMITS_H # include #else # include #endif #undef srandom #if defined __stub_srandom || defined __stub___srandom #error "bad glibc stub" #endif extern char srandom(); int main() { return srandom(); } <== [1/2] Compiling bin/.conf_check_f874653e71da8be0f54dca06bbc286b4/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f874653e71da8be0f54dca06bbc286b4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f874653e71da8be0f54dca06bbc286b4/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f874653e71da8be0f54dca06bbc286b4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for random ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define random __fake__random #ifdef HAVE_LIMITS_H # include #else # include #endif #undef random #if defined __stub_random || defined __stub___random #error "bad glibc stub" #endif extern char random(); int main() { return random(); } <== [1/2] Compiling bin/.conf_check_0c109dc80a7a48bf7acbd5d6d5de2b0a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0c109dc80a7a48bf7acbd5d6d5de2b0a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0c109dc80a7a48bf7acbd5d6d5de2b0a/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0c109dc80a7a48bf7acbd5d6d5de2b0a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for srand ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define srand __fake__srand #ifdef HAVE_LIMITS_H # include #else # include #endif #undef srand #if defined __stub_srand || defined __stub___srand #error "bad glibc stub" #endif extern char srand(); int main() { return srand(); } <== [1/2] Compiling bin/.conf_check_712e46cac0662351075ff9b23a38dde6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_712e46cac0662351075ff9b23a38dde6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_712e46cac0662351075ff9b23a38dde6/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_712e46cac0662351075ff9b23a38dde6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for rand ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define rand __fake__rand #ifdef HAVE_LIMITS_H # include #else # include #endif #undef rand #if defined __stub_rand || defined __stub___rand #error "bad glibc stub" #endif extern char rand(); int main() { return rand(); } <== [1/2] Compiling bin/.conf_check_af2e887022b0afbd52228949a7a59c93/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_af2e887022b0afbd52228949a7a59c93/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_af2e887022b0afbd52228949a7a59c93/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_af2e887022b0afbd52228949a7a59c93/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for usleep ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define usleep __fake__usleep #ifdef HAVE_LIMITS_H # include #else # include #endif #undef usleep #if defined __stub_usleep || defined __stub___usleep #error "bad glibc stub" #endif extern char usleep(); int main() { return usleep(); } <== [1/2] Compiling bin/.conf_check_a4317233e414213691b64587ac6a414e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a4317233e414213691b64587ac6a414e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a4317233e414213691b64587ac6a414e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a4317233e414213691b64587ac6a414e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for setbuffer ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define setbuffer __fake__setbuffer #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setbuffer #if defined __stub_setbuffer || defined __stub___setbuffer #error "bad glibc stub" #endif extern char setbuffer(); int main() { return setbuffer(); } <== [1/2] Compiling bin/.conf_check_c92d8637aa5ac11aff5ea47313641016/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c92d8637aa5ac11aff5ea47313641016/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c92d8637aa5ac11aff5ea47313641016/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c92d8637aa5ac11aff5ea47313641016/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for lstat ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define lstat __fake__lstat #ifdef HAVE_LIMITS_H # include #else # include #endif #undef lstat #if defined __stub_lstat || defined __stub___lstat #error "bad glibc stub" #endif extern char lstat(); int main() { return lstat(); } <== [1/2] Compiling bin/.conf_check_4e519ad3b26f7369edf927ed8f36044f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4e519ad3b26f7369edf927ed8f36044f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4e519ad3b26f7369edf927ed8f36044f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4e519ad3b26f7369edf927ed8f36044f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for getpgrp ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define getpgrp __fake__getpgrp #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getpgrp #if defined __stub_getpgrp || defined __stub___getpgrp #error "bad glibc stub" #endif extern char getpgrp(); int main() { return getpgrp(); } <== [1/2] Compiling bin/.conf_check_0cc4839de3cddd4a8828077ccf364e9f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0cc4839de3cddd4a8828077ccf364e9f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0cc4839de3cddd4a8828077ccf364e9f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0cc4839de3cddd4a8828077ccf364e9f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for utime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define utime __fake__utime #ifdef HAVE_LIMITS_H # include #else # include #endif #undef utime #if defined __stub_utime || defined __stub___utime #error "bad glibc stub" #endif extern char utime(); int main() { return utime(); } <== [1/2] Compiling bin/.conf_check_4d51506eabd683baed46d2cb5f488ce4/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4d51506eabd683baed46d2cb5f488ce4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4d51506eabd683baed46d2cb5f488ce4/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4d51506eabd683baed46d2cb5f488ce4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for utimes ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define utimes __fake__utimes #ifdef HAVE_LIMITS_H # include #else # include #endif #undef utimes #if defined __stub_utimes || defined __stub___utimes #error "bad glibc stub" #endif extern char utimes(); int main() { return utimes(); } <== [1/2] Compiling bin/.conf_check_0a73eea97eca794a07c42d2a365531b9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0a73eea97eca794a07c42d2a365531b9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0a73eea97eca794a07c42d2a365531b9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0a73eea97eca794a07c42d2a365531b9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for setuid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define setuid __fake__setuid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setuid #if defined __stub_setuid || defined __stub___setuid #error "bad glibc stub" #endif extern char setuid(); int main() { return setuid(); } <== [1/2] Compiling bin/.conf_check_056eef7d7976f40da1fcc291eabc1b84/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_056eef7d7976f40da1fcc291eabc1b84/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_056eef7d7976f40da1fcc291eabc1b84/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_056eef7d7976f40da1fcc291eabc1b84/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for seteuid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define seteuid __fake__seteuid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef seteuid #if defined __stub_seteuid || defined __stub___seteuid #error "bad glibc stub" #endif extern char seteuid(); int main() { return seteuid(); } <== [1/2] Compiling bin/.conf_check_9c987e47b0b9280fb402b0d9e4a68795/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9c987e47b0b9280fb402b0d9e4a68795/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9c987e47b0b9280fb402b0d9e4a68795/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9c987e47b0b9280fb402b0d9e4a68795/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for setreuid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define setreuid __fake__setreuid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setreuid #if defined __stub_setreuid || defined __stub___setreuid #error "bad glibc stub" #endif extern char setreuid(); int main() { return setreuid(); } <== [1/2] Compiling bin/.conf_check_ccbf890bf54698f4d4abd2f279b4b47f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ccbf890bf54698f4d4abd2f279b4b47f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ccbf890bf54698f4d4abd2f279b4b47f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ccbf890bf54698f4d4abd2f279b4b47f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for setresuid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define setresuid __fake__setresuid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setresuid #if defined __stub_setresuid || defined __stub___setresuid #error "bad glibc stub" #endif extern char setresuid(); int main() { return setresuid(); } <== [1/2] Compiling bin/.conf_check_6c8f5b49b8209a45fc3e1e6b4c5778df/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6c8f5b49b8209a45fc3e1e6b4c5778df/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6c8f5b49b8209a45fc3e1e6b4c5778df/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6c8f5b49b8209a45fc3e1e6b4c5778df/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for setgid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define setgid __fake__setgid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setgid #if defined __stub_setgid || defined __stub___setgid #error "bad glibc stub" #endif extern char setgid(); int main() { return setgid(); } <== [1/2] Compiling bin/.conf_check_4a0b99152b015e9cf0c9b36e31192853/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4a0b99152b015e9cf0c9b36e31192853/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4a0b99152b015e9cf0c9b36e31192853/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4a0b99152b015e9cf0c9b36e31192853/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for setegid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define setegid __fake__setegid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setegid #if defined __stub_setegid || defined __stub___setegid #error "bad glibc stub" #endif extern char setegid(); int main() { return setegid(); } <== [1/2] Compiling bin/.conf_check_685521fb38c593f45d647e8ebe85f459/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_685521fb38c593f45d647e8ebe85f459/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_685521fb38c593f45d647e8ebe85f459/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_685521fb38c593f45d647e8ebe85f459/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for setregid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define setregid __fake__setregid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setregid #if defined __stub_setregid || defined __stub___setregid #error "bad glibc stub" #endif extern char setregid(); int main() { return setregid(); } <== [1/2] Compiling bin/.conf_check_447cb5cf696b5cd3d1729e7aefedb846/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_447cb5cf696b5cd3d1729e7aefedb846/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_447cb5cf696b5cd3d1729e7aefedb846/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_447cb5cf696b5cd3d1729e7aefedb846/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for setresgid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define setresgid __fake__setresgid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setresgid #if defined __stub_setresgid || defined __stub___setresgid #error "bad glibc stub" #endif extern char setresgid(); int main() { return setresgid(); } <== [1/2] Compiling bin/.conf_check_5966775e1b77430ac9f8188117afd0c4/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5966775e1b77430ac9f8188117afd0c4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5966775e1b77430ac9f8188117afd0c4/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5966775e1b77430ac9f8188117afd0c4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for chroot ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define chroot __fake__chroot #ifdef HAVE_LIMITS_H # include #else # include #endif #undef chroot #if defined __stub_chroot || defined __stub___chroot #error "bad glibc stub" #endif extern char chroot(); int main() { return chroot(); } <== [1/2] Compiling bin/.conf_check_393e731f7288833da217d5920f73b38a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_393e731f7288833da217d5920f73b38a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_393e731f7288833da217d5920f73b38a/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_393e731f7288833da217d5920f73b38a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for strerror ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define strerror __fake__strerror #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strerror #if defined __stub_strerror || defined __stub___strerror #error "bad glibc stub" #endif extern char strerror(); int main() { return strerror(); } <== [1/2] Compiling bin/.conf_check_cde2cc71eb059846fb9d42262ceb1488/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cde2cc71eb059846fb9d42262ceb1488/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_cde2cc71eb059846fb9d42262ceb1488/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cde2cc71eb059846fb9d42262ceb1488/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for vsyslog ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define vsyslog __fake__vsyslog #ifdef HAVE_LIMITS_H # include #else # include #endif #undef vsyslog #if defined __stub_vsyslog || defined __stub___vsyslog #error "bad glibc stub" #endif extern char vsyslog(); int main() { return vsyslog(); } <== [1/2] Compiling bin/.conf_check_1a8a247d57a16b2c17e0a8ad531d3303/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1a8a247d57a16b2c17e0a8ad531d3303/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1a8a247d57a16b2c17e0a8ad531d3303/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1a8a247d57a16b2c17e0a8ad531d3303/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for setlinebuf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define setlinebuf __fake__setlinebuf #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setlinebuf #if defined __stub_setlinebuf || defined __stub___setlinebuf #error "bad glibc stub" #endif extern char setlinebuf(); int main() { return setlinebuf(); } <== [1/2] Compiling bin/.conf_check_a94c1f7bbf43426b57f0b7615ae3fe93/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a94c1f7bbf43426b57f0b7615ae3fe93/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a94c1f7bbf43426b57f0b7615ae3fe93/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a94c1f7bbf43426b57f0b7615ae3fe93/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for mktime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define mktime __fake__mktime #ifdef HAVE_LIMITS_H # include #else # include #endif #undef mktime #if defined __stub_mktime || defined __stub___mktime #error "bad glibc stub" #endif extern char mktime(); int main() { return mktime(); } <== [1/2] Compiling bin/.conf_check_72981bf9915ccebd990e802b39d8f880/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_72981bf9915ccebd990e802b39d8f880/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_72981bf9915ccebd990e802b39d8f880/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_72981bf9915ccebd990e802b39d8f880/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for ftruncate ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define ftruncate __fake__ftruncate #ifdef HAVE_LIMITS_H # include #else # include #endif #undef ftruncate #if defined __stub_ftruncate || defined __stub___ftruncate #error "bad glibc stub" #endif extern char ftruncate(); int main() { return ftruncate(); } <== [1/2] Compiling bin/.conf_check_b33df7941ef4b72f32f673c20a2899d1/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b33df7941ef4b72f32f673c20a2899d1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b33df7941ef4b72f32f673c20a2899d1/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b33df7941ef4b72f32f673c20a2899d1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for chsize ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 #define chsize __fake__chsize #ifdef HAVE_LIMITS_H # include #else # include #endif #undef chsize #if defined __stub_chsize || defined __stub___chsize #error "bad glibc stub" #endif extern char chsize(); int main() { return chsize(); } <== [1/2] Compiling bin/.conf_check_4387919952d088bbc3919d023d6fb842/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4387919952d088bbc3919d023d6fb842/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4387919952d088bbc3919d023d6fb842/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4387919952d088bbc3919d023d6fb842/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `chsize' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)chsize; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_0389a36ee959ba3b16e4700b219a2180/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0389a36ee959ba3b16e4700b219a2180/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:274:39: error: 'chsize' undeclared (first use in this function); did you mean 'chdir'? int main(void) { void *__x = (void *)chsize; return (int)__x; return 0; } ^~~~~~ chdir ../../test.c:274:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:274:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)chsize; return (int)__x; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for rename ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define rename __fake__rename #ifdef HAVE_LIMITS_H # include #else # include #endif #undef rename #if defined __stub_rename || defined __stub___rename #error "bad glibc stub" #endif extern char rename(); int main() { return rename(); } <== [1/2] Compiling bin/.conf_check_7a93e7b32377cb99cc2318412a922a78/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7a93e7b32377cb99cc2318412a922a78/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7a93e7b32377cb99cc2318412a922a78/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7a93e7b32377cb99cc2318412a922a78/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for waitpid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define waitpid __fake__waitpid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef waitpid #if defined __stub_waitpid || defined __stub___waitpid #error "bad glibc stub" #endif extern char waitpid(); int main() { return waitpid(); } <== [1/2] Compiling bin/.conf_check_fa355242f889eb17539ad0e5af34145d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fa355242f889eb17539ad0e5af34145d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fa355242f889eb17539ad0e5af34145d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fa355242f889eb17539ad0e5af34145d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for wait4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define wait4 __fake__wait4 #ifdef HAVE_LIMITS_H # include #else # include #endif #undef wait4 #if defined __stub_wait4 || defined __stub___wait4 #error "bad glibc stub" #endif extern char wait4(); int main() { return wait4(); } <== [1/2] Compiling bin/.conf_check_2cc2850e44fd2c5dd5ecf4b0e8393afa/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2cc2850e44fd2c5dd5ecf4b0e8393afa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2cc2850e44fd2c5dd5ecf4b0e8393afa/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2cc2850e44fd2c5dd5ecf4b0e8393afa/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for initgroups ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define initgroups __fake__initgroups #ifdef HAVE_LIMITS_H # include #else # include #endif #undef initgroups #if defined __stub_initgroups || defined __stub___initgroups #error "bad glibc stub" #endif extern char initgroups(); int main() { return initgroups(); } <== [1/2] Compiling bin/.conf_check_40a5884680cd72b63942003e437680b7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_40a5884680cd72b63942003e437680b7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_40a5884680cd72b63942003e437680b7/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_40a5884680cd72b63942003e437680b7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for pread ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define pread __fake__pread #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pread #if defined __stub_pread || defined __stub___pread #error "bad glibc stub" #endif extern char pread(); int main() { return pread(); } <== [1/2] Compiling bin/.conf_check_d7e17cbe563563567bd428e5eb1dcaee/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d7e17cbe563563567bd428e5eb1dcaee/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d7e17cbe563563567bd428e5eb1dcaee/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d7e17cbe563563567bd428e5eb1dcaee/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for pwrite ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define pwrite __fake__pwrite #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pwrite #if defined __stub_pwrite || defined __stub___pwrite #error "bad glibc stub" #endif extern char pwrite(); int main() { return pwrite(); } <== [1/2] Compiling bin/.conf_check_7e3b6d5c71beeba354203cf46e782136/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7e3b6d5c71beeba354203cf46e782136/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7e3b6d5c71beeba354203cf46e782136/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7e3b6d5c71beeba354203cf46e782136/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for strndup ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define strndup __fake__strndup #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strndup #if defined __stub_strndup || defined __stub___strndup #error "bad glibc stub" #endif extern char strndup(); int main() { return strndup(); } <== [1/2] Compiling bin/.conf_check_cef944ace86d32d367aa1fd82d32cc14/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cef944ace86d32d367aa1fd82d32cc14/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:277:38: warning: conflicting types for built-in function 'strndup' [-Wbuiltin-declaration-mismatch] extern char strndup(); ^~~~~~~ [2/2] Linking bin/.conf_check_cef944ace86d32d367aa1fd82d32cc14/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cef944ace86d32d367aa1fd82d32cc14/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for strcasestr ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define strcasestr __fake__strcasestr #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strcasestr #if defined __stub_strcasestr || defined __stub___strcasestr #error "bad glibc stub" #endif extern char strcasestr(); int main() { return strcasestr(); } <== [1/2] Compiling bin/.conf_check_dde1143587066cd06f2b74b8ac16dc1d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_dde1143587066cd06f2b74b8ac16dc1d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_dde1143587066cd06f2b74b8ac16dc1d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_dde1143587066cd06f2b74b8ac16dc1d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for strsep ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define strsep __fake__strsep #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strsep #if defined __stub_strsep || defined __stub___strsep #error "bad glibc stub" #endif extern char strsep(); int main() { return strsep(); } <== [1/2] Compiling bin/.conf_check_bc12411e968c737ae3ad6b6a1095c620/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bc12411e968c737ae3ad6b6a1095c620/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_bc12411e968c737ae3ad6b6a1095c620/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bc12411e968c737ae3ad6b6a1095c620/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for strtok_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define strtok_r __fake__strtok_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strtok_r #if defined __stub_strtok_r || defined __stub___strtok_r #error "bad glibc stub" #endif extern char strtok_r(); int main() { return strtok_r(); } <== [1/2] Compiling bin/.conf_check_a12b56f0c0c50f15497080da98676eb1/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a12b56f0c0c50f15497080da98676eb1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a12b56f0c0c50f15497080da98676eb1/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a12b56f0c0c50f15497080da98676eb1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for mkdtemp ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define mkdtemp __fake__mkdtemp #ifdef HAVE_LIMITS_H # include #else # include #endif #undef mkdtemp #if defined __stub_mkdtemp || defined __stub___mkdtemp #error "bad glibc stub" #endif extern char mkdtemp(); int main() { return mkdtemp(); } <== [1/2] Compiling bin/.conf_check_a92231842dfbb93acbc0e0e20fe1e922/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a92231842dfbb93acbc0e0e20fe1e922/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a92231842dfbb93acbc0e0e20fe1e922/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a92231842dfbb93acbc0e0e20fe1e922/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for dup2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define dup2 __fake__dup2 #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dup2 #if defined __stub_dup2 || defined __stub___dup2 #error "bad glibc stub" #endif extern char dup2(); int main() { return dup2(); } <== [1/2] Compiling bin/.conf_check_7c06f65d7b7fe4c8329d6cdd6f85651b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7c06f65d7b7fe4c8329d6cdd6f85651b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7c06f65d7b7fe4c8329d6cdd6f85651b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7c06f65d7b7fe4c8329d6cdd6f85651b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for dprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define dprintf __fake__dprintf #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dprintf #if defined __stub_dprintf || defined __stub___dprintf #error "bad glibc stub" #endif extern char dprintf(); int main() { return dprintf(); } <== [1/2] Compiling bin/.conf_check_b275a10db06e1911062a9d458fcd7f80/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b275a10db06e1911062a9d458fcd7f80/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b275a10db06e1911062a9d458fcd7f80/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b275a10db06e1911062a9d458fcd7f80/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for vdprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define vdprintf __fake__vdprintf #ifdef HAVE_LIMITS_H # include #else # include #endif #undef vdprintf #if defined __stub_vdprintf || defined __stub___vdprintf #error "bad glibc stub" #endif extern char vdprintf(); int main() { return vdprintf(); } <== [1/2] Compiling bin/.conf_check_fef1a038b70b6fac94bc36b18c9e6a38/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fef1a038b70b6fac94bc36b18c9e6a38/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fef1a038b70b6fac94bc36b18c9e6a38/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fef1a038b70b6fac94bc36b18c9e6a38/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for isatty ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define isatty __fake__isatty #ifdef HAVE_LIMITS_H # include #else # include #endif #undef isatty #if defined __stub_isatty || defined __stub___isatty #error "bad glibc stub" #endif extern char isatty(); int main() { return isatty(); } <== [1/2] Compiling bin/.conf_check_15395d0e57147b7bda9f54557d0195d9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_15395d0e57147b7bda9f54557d0195d9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_15395d0e57147b7bda9f54557d0195d9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_15395d0e57147b7bda9f54557d0195d9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for chown ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define chown __fake__chown #ifdef HAVE_LIMITS_H # include #else # include #endif #undef chown #if defined __stub_chown || defined __stub___chown #error "bad glibc stub" #endif extern char chown(); int main() { return chown(); } <== [1/2] Compiling bin/.conf_check_fa7563f0cad7ddc371038b4f9c0a3699/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fa7563f0cad7ddc371038b4f9c0a3699/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fa7563f0cad7ddc371038b4f9c0a3699/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fa7563f0cad7ddc371038b4f9c0a3699/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for lchown ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define lchown __fake__lchown #ifdef HAVE_LIMITS_H # include #else # include #endif #undef lchown #if defined __stub_lchown || defined __stub___lchown #error "bad glibc stub" #endif extern char lchown(); int main() { return lchown(); } <== [1/2] Compiling bin/.conf_check_d3c8b3373cdfbba8d5f1241793f8a6f2/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d3c8b3373cdfbba8d5f1241793f8a6f2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d3c8b3373cdfbba8d5f1241793f8a6f2/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d3c8b3373cdfbba8d5f1241793f8a6f2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for link ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define link __fake__link #ifdef HAVE_LIMITS_H # include #else # include #endif #undef link #if defined __stub_link || defined __stub___link #error "bad glibc stub" #endif extern char link(); int main() { return link(); } <== [1/2] Compiling bin/.conf_check_d753b28d2a3d829c211a4d4725eb5108/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d753b28d2a3d829c211a4d4725eb5108/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d753b28d2a3d829c211a4d4725eb5108/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d753b28d2a3d829c211a4d4725eb5108/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for readlink ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define readlink __fake__readlink #ifdef HAVE_LIMITS_H # include #else # include #endif #undef readlink #if defined __stub_readlink || defined __stub___readlink #error "bad glibc stub" #endif extern char readlink(); int main() { return readlink(); } <== [1/2] Compiling bin/.conf_check_56c76df205979d891d3c909347a20bb9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_56c76df205979d891d3c909347a20bb9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_56c76df205979d891d3c909347a20bb9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_56c76df205979d891d3c909347a20bb9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for symlink ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define symlink __fake__symlink #ifdef HAVE_LIMITS_H # include #else # include #endif #undef symlink #if defined __stub_symlink || defined __stub___symlink #error "bad glibc stub" #endif extern char symlink(); int main() { return symlink(); } <== [1/2] Compiling bin/.conf_check_8d51af31e9253cb33462aaeda66cac99/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8d51af31e9253cb33462aaeda66cac99/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8d51af31e9253cb33462aaeda66cac99/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8d51af31e9253cb33462aaeda66cac99/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for realpath ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define realpath __fake__realpath #ifdef HAVE_LIMITS_H # include #else # include #endif #undef realpath #if defined __stub_realpath || defined __stub___realpath #error "bad glibc stub" #endif extern char realpath(); int main() { return realpath(); } <== [1/2] Compiling bin/.conf_check_247a46dfc5f3c61fa74e2080cfd118ee/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_247a46dfc5f3c61fa74e2080cfd118ee/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_247a46dfc5f3c61fa74e2080cfd118ee/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_247a46dfc5f3c61fa74e2080cfd118ee/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for snprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define snprintf __fake__snprintf #ifdef HAVE_LIMITS_H # include #else # include #endif #undef snprintf #if defined __stub_snprintf || defined __stub___snprintf #error "bad glibc stub" #endif extern char snprintf(); int main() { return snprintf(); } <== [1/2] Compiling bin/.conf_check_f8a338edb4597954a3246c4cd485739f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f8a338edb4597954a3246c4cd485739f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:292:38: warning: conflicting types for built-in function 'snprintf' [-Wbuiltin-declaration-mismatch] extern char snprintf(); ^~~~~~~~ [2/2] Linking bin/.conf_check_f8a338edb4597954a3246c4cd485739f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f8a338edb4597954a3246c4cd485739f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for vsnprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define vsnprintf __fake__vsnprintf #ifdef HAVE_LIMITS_H # include #else # include #endif #undef vsnprintf #if defined __stub_vsnprintf || defined __stub___vsnprintf #error "bad glibc stub" #endif extern char vsnprintf(); int main() { return vsnprintf(); } <== [1/2] Compiling bin/.conf_check_fdcb24bcd4ddd9709d61ff929c499e7f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fdcb24bcd4ddd9709d61ff929c499e7f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:293:38: warning: conflicting types for built-in function 'vsnprintf' [-Wbuiltin-declaration-mismatch] extern char vsnprintf(); ^~~~~~~~~ [2/2] Linking bin/.conf_check_fdcb24bcd4ddd9709d61ff929c499e7f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fdcb24bcd4ddd9709d61ff929c499e7f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for asprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define asprintf __fake__asprintf #ifdef HAVE_LIMITS_H # include #else # include #endif #undef asprintf #if defined __stub_asprintf || defined __stub___asprintf #error "bad glibc stub" #endif extern char asprintf(); int main() { return asprintf(); } <== [1/2] Compiling bin/.conf_check_c2ee74e5ba4a9a99c799a0554a5e371d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c2ee74e5ba4a9a99c799a0554a5e371d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c2ee74e5ba4a9a99c799a0554a5e371d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c2ee74e5ba4a9a99c799a0554a5e371d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for vasprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define vasprintf __fake__vasprintf #ifdef HAVE_LIMITS_H # include #else # include #endif #undef vasprintf #if defined __stub_vasprintf || defined __stub___vasprintf #error "bad glibc stub" #endif extern char vasprintf(); int main() { return vasprintf(); } <== [1/2] Compiling bin/.conf_check_01f2422f39c463dbbb3b21ee3874f0d1/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_01f2422f39c463dbbb3b21ee3874f0d1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_01f2422f39c463dbbb3b21ee3874f0d1/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_01f2422f39c463dbbb3b21ee3874f0d1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for setenv ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define setenv __fake__setenv #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setenv #if defined __stub_setenv || defined __stub___setenv #error "bad glibc stub" #endif extern char setenv(); int main() { return setenv(); } <== [1/2] Compiling bin/.conf_check_e7d96992a3207af41f892723cd6ebf57/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e7d96992a3207af41f892723cd6ebf57/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e7d96992a3207af41f892723cd6ebf57/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e7d96992a3207af41f892723cd6ebf57/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for unsetenv ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define unsetenv __fake__unsetenv #ifdef HAVE_LIMITS_H # include #else # include #endif #undef unsetenv #if defined __stub_unsetenv || defined __stub___unsetenv #error "bad glibc stub" #endif extern char unsetenv(); int main() { return unsetenv(); } <== [1/2] Compiling bin/.conf_check_13b4b80187f52017ca1620c2c8803b84/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_13b4b80187f52017ca1620c2c8803b84/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_13b4b80187f52017ca1620c2c8803b84/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_13b4b80187f52017ca1620c2c8803b84/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for strnlen ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define strnlen __fake__strnlen #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strnlen #if defined __stub_strnlen || defined __stub___strnlen #error "bad glibc stub" #endif extern char strnlen(); int main() { return strnlen(); } <== [1/2] Compiling bin/.conf_check_7a179db439730203fa9c9751e0ba13cf/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7a179db439730203fa9c9751e0ba13cf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7a179db439730203fa9c9751e0ba13cf/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7a179db439730203fa9c9751e0ba13cf/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for strtoull ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define strtoull __fake__strtoull #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strtoull #if defined __stub_strtoull || defined __stub___strtoull #error "bad glibc stub" #endif extern char strtoull(); int main() { return strtoull(); } <== [1/2] Compiling bin/.conf_check_1de1700058e20b78f3359b67d76243c5/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1de1700058e20b78f3359b67d76243c5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1de1700058e20b78f3359b67d76243c5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1de1700058e20b78f3359b67d76243c5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for __strtoull ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 #define __strtoull __fake____strtoull #ifdef HAVE_LIMITS_H # include #else # include #endif #undef __strtoull #if defined __stub___strtoull || defined __stub_____strtoull #error "bad glibc stub" #endif extern char __strtoull(); int main() { return __strtoull(); } <== [1/2] Compiling bin/.conf_check_cfcffcf38ad588fdb8cbde83a24137a8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cfcffcf38ad588fdb8cbde83a24137a8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_cfcffcf38ad588fdb8cbde83a24137a8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cfcffcf38ad588fdb8cbde83a24137a8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `__strtoull' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)__strtoull; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_c1aff851d94e5a9705b3c903aa01079a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c1aff851d94e5a9705b3c903aa01079a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:304:39: error: '__strtoull' undeclared (first use in this function); did you mean 'strtoull'? int main(void) { void *__x = (void *)__strtoull; return (int)__x; return 0; } ^~~~~~~~~~ strtoull ../../test.c:304:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:304:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)__strtoull; return (int)__x; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for strtouq ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define strtouq __fake__strtouq #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strtouq #if defined __stub_strtouq || defined __stub___strtouq #error "bad glibc stub" #endif extern char strtouq(); int main() { return strtouq(); } <== [1/2] Compiling bin/.conf_check_cf10caa8c755ba768ee118773cbc7c42/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cf10caa8c755ba768ee118773cbc7c42/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_cf10caa8c755ba768ee118773cbc7c42/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cf10caa8c755ba768ee118773cbc7c42/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for strtoll ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define strtoll __fake__strtoll #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strtoll #if defined __stub_strtoll || defined __stub___strtoll #error "bad glibc stub" #endif extern char strtoll(); int main() { return strtoll(); } <== [1/2] Compiling bin/.conf_check_f4457a4a34cf7913b817a7a153b487e0/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f4457a4a34cf7913b817a7a153b487e0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f4457a4a34cf7913b817a7a153b487e0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f4457a4a34cf7913b817a7a153b487e0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for __strtoll ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 #define __strtoll __fake____strtoll #ifdef HAVE_LIMITS_H # include #else # include #endif #undef __strtoll #if defined __stub___strtoll || defined __stub_____strtoll #error "bad glibc stub" #endif extern char __strtoll(); int main() { return __strtoll(); } <== [1/2] Compiling bin/.conf_check_0f264585884ce62a3cbf23df6db68a55/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0f264585884ce62a3cbf23df6db68a55/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0f264585884ce62a3cbf23df6db68a55/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0f264585884ce62a3cbf23df6db68a55/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `__strtoll' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)__strtoll; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_6febca87a034678cd882536f77f41283/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6febca87a034678cd882536f77f41283/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:307:39: error: '__strtoll' undeclared (first use in this function); did you mean 'strtoll'? int main(void) { void *__x = (void *)__strtoll; return (int)__x; return 0; } ^~~~~~~~~ strtoll ../../test.c:307:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:307:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)__strtoll; return (int)__x; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for strtoq ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define strtoq __fake__strtoq #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strtoq #if defined __stub_strtoq || defined __stub___strtoq #error "bad glibc stub" #endif extern char strtoq(); int main() { return strtoq(); } <== [1/2] Compiling bin/.conf_check_4d452b6cabf4e9772953551b5ace3634/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4d452b6cabf4e9772953551b5ace3634/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4d452b6cabf4e9772953551b5ace3634/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4d452b6cabf4e9772953551b5ace3634/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for memalign ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define memalign __fake__memalign #ifdef HAVE_LIMITS_H # include #else # include #endif #undef memalign #if defined __stub_memalign || defined __stub___memalign #error "bad glibc stub" #endif extern char memalign(); int main() { return memalign(); } <== [1/2] Compiling bin/.conf_check_3de2724ffd18344dcd54340978f1960d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3de2724ffd18344dcd54340978f1960d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3de2724ffd18344dcd54340978f1960d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3de2724ffd18344dcd54340978f1960d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for posix_memalign ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define posix_memalign __fake__posix_memalign #ifdef HAVE_LIMITS_H # include #else # include #endif #undef posix_memalign #if defined __stub_posix_memalign || defined __stub___posix_memalign #error "bad glibc stub" #endif extern char posix_memalign(); int main() { return posix_memalign(); } <== [1/2] Compiling bin/.conf_check_6b78318f5bd72d3714e60faae2cc0228/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6b78318f5bd72d3714e60faae2cc0228/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:306:38: warning: conflicting types for built-in function 'posix_memalign' [-Wbuiltin-declaration-mismatch] extern char posix_memalign(); ^~~~~~~~~~~~~~ [2/2] Linking bin/.conf_check_6b78318f5bd72d3714e60faae2cc0228/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6b78318f5bd72d3714e60faae2cc0228/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for fmemopen ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define fmemopen __fake__fmemopen #ifdef HAVE_LIMITS_H # include #else # include #endif #undef fmemopen #if defined __stub_fmemopen || defined __stub___fmemopen #error "bad glibc stub" #endif extern char fmemopen(); int main() { return fmemopen(); } <== [1/2] Compiling bin/.conf_check_83c279f4856bcb1f4bc3c1596981844c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_83c279f4856bcb1f4bc3c1596981844c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_83c279f4856bcb1f4bc3c1596981844c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_83c279f4856bcb1f4bc3c1596981844c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for header malloc.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_6ea274dccf04c36cc980c73323b65d40/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6ea274dccf04c36cc980c73323b65d40/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes --------------------------------------------------------------------- Checking for declaration of memalign ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef memalign void *_x; _x=(void *)&memalign; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_a7434468965e86889c58f108b65a000a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a7434468965e86889c58f108b65a000a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:315:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&memalign; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for posix_fallocate-capable libc ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #define _XOPEN_SOURCE 600 #include #if defined(__GLIBC__) && ((__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)) #error probably broken posix_fallocate #endif ; return 0; } <== [1/2] Compiling bin/.conf_check_b85c97af513d7c551a8b9c79a285a1bf/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b85c97af513d7c551a8b9c79a285a1bf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:314:0: warning: "_XOPEN_SOURCE" redefined #define _XOPEN_SOURCE 600 In file included from /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/libc-header-start.h:33:0, from /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:27, from ../../test.c:298: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:203:0: note: this is the location of the previous definition # define _XOPEN_SOURCE 700 [2/2] Linking bin/.conf_check_b85c97af513d7c551a8b9c79a285a1bf/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b85c97af513d7c551a8b9c79a285a1bf/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for posix_fallocate ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define posix_fallocate __fake__posix_fallocate #ifdef HAVE_LIMITS_H # include #else # include #endif #undef posix_fallocate #if defined __stub_posix_fallocate || defined __stub___posix_fallocate #error "bad glibc stub" #endif extern char posix_fallocate(); int main() { return posix_fallocate(); } <== [1/2] Compiling bin/.conf_check_1eb1c54179b20e0c8c71131cd48a0bcc/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1eb1c54179b20e0c8c71131cd48a0bcc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1eb1c54179b20e0c8c71131cd48a0bcc/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1eb1c54179b20e0c8c71131cd48a0bcc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for prctl ok --------------------------------------------------------------------- Checking for dirname ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define dirname __fake__dirname #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dirname #if defined __stub_dirname || defined __stub___dirname #error "bad glibc stub" #endif extern char dirname(); int main() { return dirname(); } <== [1/2] Compiling bin/.conf_check_6230dfc281e9351abf3e682ef7646f76/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6230dfc281e9351abf3e682ef7646f76/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6230dfc281e9351abf3e682ef7646f76/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6230dfc281e9351abf3e682ef7646f76/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for basename ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define basename __fake__basename #ifdef HAVE_LIMITS_H # include #else # include #endif #undef basename #if defined __stub_basename || defined __stub___basename #error "bad glibc stub" #endif extern char basename(); int main() { return basename(); } <== [1/2] Compiling bin/.conf_check_9fc8a3be6a47b22fd6cfd94a7444824b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9fc8a3be6a47b22fd6cfd94a7444824b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9fc8a3be6a47b22fd6cfd94a7444824b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9fc8a3be6a47b22fd6cfd94a7444824b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking whether we can use SO_PEERCRED to get socket credentials ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct ucred cred; socklen_t cred_len; int ret = getsockopt(0, SOL_SOCKET, SO_PEERCRED, &cred, &cred_len);; return 0; } <== [1/2] Compiling bin/.conf_check_7f90c3275e5398fa1973e2e02a220cad/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7f90c3275e5398fa1973e2e02a220cad/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7f90c3275e5398fa1973e2e02a220cad/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7f90c3275e5398fa1973e2e02a220cad/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking correct behavior of strtoll ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { long long nb = strtoll("Text", NULL, 0); if (errno == EINVAL) { return 0; } else { return 1; } ; return 0; } <== [1/3] Compiling bin/.conf_check_68ba4e96470889b8ba102ff32d5e0631/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_68ba4e96470889b8ba102ff32d5e0631/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_68ba4e96470889b8ba102ff32d5e0631/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_68ba4e96470889b8ba102ff32d5e0631/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_68ba4e96470889b8ba102ff32d5e0631/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_68ba4e96470889b8ba102ff32d5e0631/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking correct behavior of strtoll'] from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed False not found --------------------------------------------------------------------- Checking for if_nametoindex ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define if_nametoindex __fake__if_nametoindex #ifdef HAVE_LIMITS_H # include #else # include #endif #undef if_nametoindex #if defined __stub_if_nametoindex || defined __stub___if_nametoindex #error "bad glibc stub" #endif extern char if_nametoindex(); int main() { return if_nametoindex(); } <== [1/2] Compiling bin/.conf_check_36cd8089b82e631cca6b7247ffc92c49/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_36cd8089b82e631cca6b7247ffc92c49/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_36cd8089b82e631cca6b7247ffc92c49/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_36cd8089b82e631cca6b7247ffc92c49/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for strerror_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define strerror_r __fake__strerror_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strerror_r #if defined __stub_strerror_r || defined __stub___strerror_r #error "bad glibc stub" #endif extern char strerror_r(); int main() { return strerror_r(); } <== [1/2] Compiling bin/.conf_check_0727e0ac73b3b2fd7c8493ea7b74adec/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0727e0ac73b3b2fd7c8493ea7b74adec/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0727e0ac73b3b2fd7c8493ea7b74adec/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0727e0ac73b3b2fd7c8493ea7b74adec/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for getdirentries ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define getdirentries __fake__getdirentries #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getdirentries #if defined __stub_getdirentries || defined __stub___getdirentries #error "bad glibc stub" #endif extern char getdirentries(); int main() { return getdirentries(); } <== [1/2] Compiling bin/.conf_check_356d77701bc0acfcd45833f2233e1c4d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_356d77701bc0acfcd45833f2233e1c4d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_356d77701bc0acfcd45833f2233e1c4d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_356d77701bc0acfcd45833f2233e1c4d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for getdents ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 #define getdents __fake__getdents #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getdents #if defined __stub_getdents || defined __stub___getdents #error "bad glibc stub" #endif extern char getdents(); int main() { return getdents(); } <== [1/2] Compiling bin/.conf_check_a7b98cd245b95a9fe725a1cd60408d60/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a7b98cd245b95a9fe725a1cd60408d60/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a7b98cd245b95a9fe725a1cd60408d60/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a7b98cd245b95a9fe725a1cd60408d60/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `getdents' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)getdents; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_b8fc85697aa621d31b411087bb627d48/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b8fc85697aa621d31b411087bb627d48/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:323:39: error: 'getdents' undeclared (first use in this function); did you mean 'getenv'? int main(void) { void *__x = (void *)getdents; return (int)__x; return 0; } ^~~~~~~~ getenv ../../test.c:323:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:323:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)getdents; return (int)__x; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for syslog ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define syslog __fake__syslog #ifdef HAVE_LIMITS_H # include #else # include #endif #undef syslog #if defined __stub_syslog || defined __stub___syslog #error "bad glibc stub" #endif extern char syslog(); int main() { return syslog(); } <== [1/2] Compiling bin/.conf_check_0869227f71d15a35330ab6401f6900eb/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0869227f71d15a35330ab6401f6900eb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0869227f71d15a35330ab6401f6900eb/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0869227f71d15a35330ab6401f6900eb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for gai_strerror ok --------------------------------------------------------------------- Checking for get_current_dir_name ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define get_current_dir_name __fake__get_current_dir_name #ifdef HAVE_LIMITS_H # include #else # include #endif #undef get_current_dir_name #if defined __stub_get_current_dir_name || defined __stub___get_current_dir_name #error "bad glibc stub" #endif extern char get_current_dir_name(); int main() { return get_current_dir_name(); } <== [1/2] Compiling bin/.conf_check_823eaa11fc9ed464365151d664f062de/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_823eaa11fc9ed464365151d664f062de/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_823eaa11fc9ed464365151d664f062de/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_823eaa11fc9ed464365151d664f062de/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for timegm ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define timegm __fake__timegm #ifdef HAVE_LIMITS_H # include #else # include #endif #undef timegm #if defined __stub_timegm || defined __stub___timegm #error "bad glibc stub" #endif extern char timegm(); int main() { return timegm(); } <== [1/2] Compiling bin/.conf_check_bacb6fff24a6b00039d66745cd159302/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bacb6fff24a6b00039d66745cd159302/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_bacb6fff24a6b00039d66745cd159302/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bacb6fff24a6b00039d66745cd159302/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for getifaddrs ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define getifaddrs __fake__getifaddrs #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getifaddrs #if defined __stub_getifaddrs || defined __stub___getifaddrs #error "bad glibc stub" #endif extern char getifaddrs(); int main() { return getifaddrs(); } <== [1/2] Compiling bin/.conf_check_32f9a4e5fc19ccdc119ecac8a4f743c9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_32f9a4e5fc19ccdc119ecac8a4f743c9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_32f9a4e5fc19ccdc119ecac8a4f743c9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_32f9a4e5fc19ccdc119ecac8a4f743c9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for freeifaddrs ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define freeifaddrs __fake__freeifaddrs #ifdef HAVE_LIMITS_H # include #else # include #endif #undef freeifaddrs #if defined __stub_freeifaddrs || defined __stub___freeifaddrs #error "bad glibc stub" #endif extern char freeifaddrs(); int main() { return freeifaddrs(); } <== [1/2] Compiling bin/.conf_check_2183644f6524e216dafe418d74bcdd16/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2183644f6524e216dafe418d74bcdd16/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2183644f6524e216dafe418d74bcdd16/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2183644f6524e216dafe418d74bcdd16/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for mmap ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define mmap __fake__mmap #ifdef HAVE_LIMITS_H # include #else # include #endif #undef mmap #if defined __stub_mmap || defined __stub___mmap #error "bad glibc stub" #endif extern char mmap(); int main() { return mmap(); } <== [1/2] Compiling bin/.conf_check_7dfd3e735255391c066bddb130e71c90/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7dfd3e735255391c066bddb130e71c90/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7dfd3e735255391c066bddb130e71c90/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7dfd3e735255391c066bddb130e71c90/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for setgroups ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define setgroups __fake__setgroups #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setgroups #if defined __stub_setgroups || defined __stub___setgroups #error "bad glibc stub" #endif extern char setgroups(); int main() { return setgroups(); } <== [1/2] Compiling bin/.conf_check_530f2c8924f82bce178cb0c66bc44516/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_530f2c8924f82bce178cb0c66bc44516/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_530f2c8924f82bce178cb0c66bc44516/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_530f2c8924f82bce178cb0c66bc44516/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for syscall ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define syscall __fake__syscall #ifdef HAVE_LIMITS_H # include #else # include #endif #undef syscall #if defined __stub_syscall || defined __stub___syscall #error "bad glibc stub" #endif extern char syscall(); int main() { return syscall(); } <== [1/2] Compiling bin/.conf_check_48e528e566d2d9031e450be4d0cb0061/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_48e528e566d2d9031e450be4d0cb0061/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_48e528e566d2d9031e450be4d0cb0061/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_48e528e566d2d9031e450be4d0cb0061/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for setsid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define setsid __fake__setsid #ifdef HAVE_LIMITS_H # include #else # include #endif #undef setsid #if defined __stub_setsid || defined __stub___setsid #error "bad glibc stub" #endif extern char setsid(); int main() { return setsid(); } <== [1/2] Compiling bin/.conf_check_76e5286e1c507054aec765205592d4a4/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_76e5286e1c507054aec765205592d4a4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_76e5286e1c507054aec765205592d4a4/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_76e5286e1c507054aec765205592d4a4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for getgrent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define getgrent_r __fake__getgrent_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getgrent_r #if defined __stub_getgrent_r || defined __stub___getgrent_r #error "bad glibc stub" #endif extern char getgrent_r(); int main() { return getgrent_r(); } <== [1/2] Compiling bin/.conf_check_f18870445c72a23b9134cbba57074c97/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f18870445c72a23b9134cbba57074c97/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f18870445c72a23b9134cbba57074c97/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f18870445c72a23b9134cbba57074c97/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for getgrgid_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define getgrgid_r __fake__getgrgid_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getgrgid_r #if defined __stub_getgrgid_r || defined __stub___getgrgid_r #error "bad glibc stub" #endif extern char getgrgid_r(); int main() { return getgrgid_r(); } <== [1/2] Compiling bin/.conf_check_83daaf3097038385031f2007fb27f588/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_83daaf3097038385031f2007fb27f588/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_83daaf3097038385031f2007fb27f588/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_83daaf3097038385031f2007fb27f588/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for getgrnam_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define getgrnam_r __fake__getgrnam_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getgrnam_r #if defined __stub_getgrnam_r || defined __stub___getgrnam_r #error "bad glibc stub" #endif extern char getgrnam_r(); int main() { return getgrnam_r(); } <== [1/2] Compiling bin/.conf_check_117eb513baf3c2344feeeec24183736b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_117eb513baf3c2344feeeec24183736b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_117eb513baf3c2344feeeec24183736b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_117eb513baf3c2344feeeec24183736b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for getgrouplist ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define getgrouplist __fake__getgrouplist #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getgrouplist #if defined __stub_getgrouplist || defined __stub___getgrouplist #error "bad glibc stub" #endif extern char getgrouplist(); int main() { return getgrouplist(); } <== [1/2] Compiling bin/.conf_check_21e6b29c60c9a35d556ed621fcf1c5e3/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_21e6b29c60c9a35d556ed621fcf1c5e3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_21e6b29c60c9a35d556ed621fcf1c5e3/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_21e6b29c60c9a35d556ed621fcf1c5e3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for getpagesize ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define getpagesize __fake__getpagesize #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getpagesize #if defined __stub_getpagesize || defined __stub___getpagesize #error "bad glibc stub" #endif extern char getpagesize(); int main() { return getpagesize(); } <== [1/2] Compiling bin/.conf_check_169d111495651606aee6247df00e3bce/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_169d111495651606aee6247df00e3bce/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_169d111495651606aee6247df00e3bce/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_169d111495651606aee6247df00e3bce/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for getpwent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define getpwent_r __fake__getpwent_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getpwent_r #if defined __stub_getpwent_r || defined __stub___getpwent_r #error "bad glibc stub" #endif extern char getpwent_r(); int main() { return getpwent_r(); } <== [1/2] Compiling bin/.conf_check_d886a0bc30af9bd621175aebfecdb1fc/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d886a0bc30af9bd621175aebfecdb1fc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d886a0bc30af9bd621175aebfecdb1fc/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d886a0bc30af9bd621175aebfecdb1fc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for getpwnam_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define getpwnam_r __fake__getpwnam_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getpwnam_r #if defined __stub_getpwnam_r || defined __stub___getpwnam_r #error "bad glibc stub" #endif extern char getpwnam_r(); int main() { return getpwnam_r(); } <== [1/2] Compiling bin/.conf_check_32c04998932c9028a56abfdc70f62752/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_32c04998932c9028a56abfdc70f62752/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_32c04998932c9028a56abfdc70f62752/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_32c04998932c9028a56abfdc70f62752/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for getpwuid_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define getpwuid_r __fake__getpwuid_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getpwuid_r #if defined __stub_getpwuid_r || defined __stub___getpwuid_r #error "bad glibc stub" #endif extern char getpwuid_r(); int main() { return getpwuid_r(); } <== [1/2] Compiling bin/.conf_check_9d3b44c1c75aa08e5444d4f9d3611ac7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9d3b44c1c75aa08e5444d4f9d3611ac7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9d3b44c1c75aa08e5444d4f9d3611ac7/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9d3b44c1c75aa08e5444d4f9d3611ac7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for epoll_create ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define epoll_create __fake__epoll_create #ifdef HAVE_LIMITS_H # include #else # include #endif #undef epoll_create #if defined __stub_epoll_create || defined __stub___epoll_create #error "bad glibc stub" #endif extern char epoll_create(); int main() { return epoll_create(); } <== [1/2] Compiling bin/.conf_check_83ba8daaf92703d0ff3c4030d3a25898/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_83ba8daaf92703d0ff3c4030d3a25898/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_83ba8daaf92703d0ff3c4030d3a25898/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_83ba8daaf92703d0ff3c4030d3a25898/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for port_create ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 #define port_create __fake__port_create #ifdef HAVE_LIMITS_H # include #else # include #endif #undef port_create #if defined __stub_port_create || defined __stub___port_create #error "bad glibc stub" #endif extern char port_create(); int main() { return port_create(); } <== [1/2] Compiling bin/.conf_check_a38fce21bd97a2a429bcb5aef0da71fc/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a38fce21bd97a2a429bcb5aef0da71fc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a38fce21bd97a2a429bcb5aef0da71fc/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a38fce21bd97a2a429bcb5aef0da71fc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `port_create' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)port_create; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_133c7979da63f27b215d7f691aa5e600/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_133c7979da63f27b215d7f691aa5e600/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:342:39: error: 'port_create' undeclared (first use in this function) int main(void) { void *__x = (void *)port_create; return (int)__x; return 0; } ^~~~~~~~~~~ ../../test.c:342:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:342:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)port_create; return (int)__x; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for getprogname ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ #define getprogname __fake__getprogname #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getprogname #if defined __stub_getprogname || defined __stub___getprogname #error "bad glibc stub" #endif extern char getprogname(); int main() { return getprogname(); } <== [1/2] Compiling bin/.conf_check_917b7597f11258ff3390a3e1bec3c075/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_917b7597f11258ff3390a3e1bec3c075/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_917b7597f11258ff3390a3e1bec3c075/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_917b7597f11258ff3390a3e1bec3c075/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `getprogname' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)getprogname; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_b6fde2788f824c3e4ba1be484ca6a54e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b6fde2788f824c3e4ba1be484ca6a54e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:343:39: error: 'getprogname' undeclared (first use in this function); did you mean 'gethostname'? int main(void) { void *__x = (void *)getprogname; return (int)__x; return 0; } ^~~~~~~~~~~ gethostname ../../test.c:343:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:343:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)getprogname; return (int)__x; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for getxattr ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define getxattr __fake__getxattr #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getxattr #if defined __stub_getxattr || defined __stub___getxattr #error "bad glibc stub" #endif extern char getxattr(); int main() { return getxattr(); } <== [1/2] Compiling bin/.conf_check_59ce687d4600a363844a3b4651b9f8c0/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_59ce687d4600a363844a3b4651b9f8c0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_59ce687d4600a363844a3b4651b9f8c0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_59ce687d4600a363844a3b4651b9f8c0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking whether xattr interface takes additional options ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { getxattr(NULL, NULL, NULL, 0, 0, 0); return 0; } <== [1/2] Compiling bin/.conf_check_8562a0ed58e7442fd01aa522db928185/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8562a0ed58e7442fd01aa522db928185/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:347:19: error: too many arguments to function 'getxattr' int main(void) { getxattr(NULL, NULL, NULL, 0, 0, 0); return 0; } ^~~~~~~~ In file included from ../../test.c:345:0: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/xattr.h:59:16: note: declared here extern ssize_t getxattr (const char *__path, const char *__name, ^~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for dlopen ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_08c2b812f1ca703c670a2cbd5641a7a9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_08c2b812f1ca703c670a2cbd5641a7a9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_79a4a69856125bcb8f7a5c0f01ded3e8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_79a4a69856125bcb8f7a5c0f01ded3e8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:347:10: fatal error: dl.h: No such file or directory #include ^~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define dlopen __fake__dlopen #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlopen #if defined __stub_dlopen || defined __stub___dlopen #error "bad glibc stub" #endif extern char dlopen(); int main() { return dlopen(); } <== [1/2] Compiling bin/.conf_check_131cb81a033a7d1023867d5ccf86a469/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_131cb81a033a7d1023867d5ccf86a469/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_131cb81a033a7d1023867d5ccf86a469/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_131cb81a033a7d1023867d5ccf86a469/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `dlopen' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)dlopen; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_799bbd2f77f659ce3d23baddff292cb7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_799bbd2f77f659ce3d23baddff292cb7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:350:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)dlopen; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_799bbd2f77f659ce3d23baddff292cb7/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_799bbd2f77f659ce3d23baddff292cb7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `dlopen' /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `dlopen' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for dlsym ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ #define dlsym __fake__dlsym #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlsym #if defined __stub_dlsym || defined __stub___dlsym #error "bad glibc stub" #endif extern char dlsym(); int main() { return dlsym(); } <== [1/2] Compiling bin/.conf_check_24a383d155ba9c79d8171fc6b929e6a0/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_24a383d155ba9c79d8171fc6b929e6a0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_24a383d155ba9c79d8171fc6b929e6a0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_24a383d155ba9c79d8171fc6b929e6a0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `dlsym' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)dlsym; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_ebd52c549431f81bb611bbe9d3f3449f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ebd52c549431f81bb611bbe9d3f3449f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:351:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)dlsym; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_ebd52c549431f81bb611bbe9d3f3449f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ebd52c549431f81bb611bbe9d3f3449f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `dlsym' /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `dlsym' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for dlerror ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ #define dlerror __fake__dlerror #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlerror #if defined __stub_dlerror || defined __stub___dlerror #error "bad glibc stub" #endif extern char dlerror(); int main() { return dlerror(); } <== [1/2] Compiling bin/.conf_check_fcedfdfa2f9ac1c18855d6a122aef925/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fcedfdfa2f9ac1c18855d6a122aef925/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fcedfdfa2f9ac1c18855d6a122aef925/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_fcedfdfa2f9ac1c18855d6a122aef925/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `dlerror' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)dlerror; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_bf3993c4013d5129658624f82cbea111/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bf3993c4013d5129658624f82cbea111/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:352:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)dlerror; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_bf3993c4013d5129658624f82cbea111/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bf3993c4013d5129658624f82cbea111/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `dlerror' /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `dlerror' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for dlclose ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ #define dlclose __fake__dlclose #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlclose #if defined __stub_dlclose || defined __stub___dlclose #error "bad glibc stub" #endif extern char dlclose(); int main() { return dlclose(); } <== [1/2] Compiling bin/.conf_check_b0be057501ba342916d33b08075f574b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b0be057501ba342916d33b08075f574b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b0be057501ba342916d33b08075f574b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b0be057501ba342916d33b08075f574b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `dlclose' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)dlclose; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_92e0498b7675769e71bc93d0a746fe38/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_92e0498b7675769e71bc93d0a746fe38/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:353:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)dlclose; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_92e0498b7675769e71bc93d0a746fe38/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_92e0498b7675769e71bc93d0a746fe38/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `dlclose' /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `dlclose' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for library dl ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_7cbd207a7e10c23e28dc3a21f03bca2e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7cbd207a7e10c23e28dc3a21f03bca2e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7cbd207a7e10c23e28dc3a21f03bca2e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7cbd207a7e10c23e28dc3a21f03bca2e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl', '-ltirpc'] yes --------------------------------------------------------------------- Checking for dlopen in dl ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7774cffcec8f280648d22f1fd3d440da/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7774cffcec8f280648d22f1fd3d440da/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:352:10: fatal error: dl.h: No such file or directory #include ^~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 /* #undef HAVE_DLOPEN */ /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #define dlopen __fake__dlopen #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlopen #if defined __stub_dlopen || defined __stub___dlopen #error "bad glibc stub" #endif extern char dlopen(); int main() { return dlopen(); } <== [1/2] Compiling bin/.conf_check_99eaa9799263c6bcd70d6933d9308cc1/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_99eaa9799263c6bcd70d6933d9308cc1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_99eaa9799263c6bcd70d6933d9308cc1/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_99eaa9799263c6bcd70d6933d9308cc1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl', '-ltirpc'] ok --------------------------------------------------------------------- Checking for dlsym in dl ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_cb0e77a5cf2fd1928bf1c57bfbfe18bc/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cb0e77a5cf2fd1928bf1c57bfbfe18bc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:352:10: fatal error: dl.h: No such file or directory #include ^~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 /* #undef HAVE_DLSYM */ /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #define dlsym __fake__dlsym #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlsym #if defined __stub_dlsym || defined __stub___dlsym #error "bad glibc stub" #endif extern char dlsym(); int main() { return dlsym(); } <== [1/2] Compiling bin/.conf_check_e40f6dfbaf5ae9c3dfb69c8a05c3d46d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e40f6dfbaf5ae9c3dfb69c8a05c3d46d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e40f6dfbaf5ae9c3dfb69c8a05c3d46d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e40f6dfbaf5ae9c3dfb69c8a05c3d46d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl', '-ltirpc'] ok --------------------------------------------------------------------- Checking for dlerror in dl ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c95badd81ed9f659d5765c22920b6567/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c95badd81ed9f659d5765c22920b6567/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:352:10: fatal error: dl.h: No such file or directory #include ^~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 /* #undef HAVE_DLERROR */ /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #define dlerror __fake__dlerror #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlerror #if defined __stub_dlerror || defined __stub___dlerror #error "bad glibc stub" #endif extern char dlerror(); int main() { return dlerror(); } <== [1/2] Compiling bin/.conf_check_c58383f721a8e870dc8b53a4912f1c8c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c58383f721a8e870dc8b53a4912f1c8c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c58383f721a8e870dc8b53a4912f1c8c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c58383f721a8e870dc8b53a4912f1c8c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl', '-ltirpc'] ok --------------------------------------------------------------------- Checking for dlclose in dl ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0f19e8ec19971ec4df56167628a5e444/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0f19e8ec19971ec4df56167628a5e444/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:352:10: fatal error: dl.h: No such file or directory #include ^~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 /* #undef HAVE_DLCLOSE */ #define HAVE_LIBDL 1 #define dlclose __fake__dlclose #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dlclose #if defined __stub_dlclose || defined __stub___dlclose #error "bad glibc stub" #endif extern char dlclose(); int main() { return dlclose(); } <== [1/2] Compiling bin/.conf_check_33310a4d8a2212b9edaa9cca8b6b3b5d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_33310a4d8a2212b9edaa9cca8b6b3b5d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_33310a4d8a2212b9edaa9cca8b6b3b5d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_33310a4d8a2212b9edaa9cca8b6b3b5d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl', '-ltirpc'] ok --------------------------------------------------------------------- Checking for declaration of dlopen ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef dlopen void *_x; _x=(void *)&dlopen; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_1c94f3725fdce6de73fac5c13c2dd942/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1c94f3725fdce6de73fac5c13c2dd942/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:356:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&dlopen; return (int)_x; ^ ok --------------------------------------------------------------------- Checking C prototype for dlopen ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *dlopen(const char* filename, unsigned int flags); void *_x = (void *)dlopen; return 0; } <== [1/1] Compiling bin/.conf_check_04f261417736536fa349e2725f383456/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_04f261417736536fa349e2725f383456/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:355:25: error: conflicting types for 'dlopen' int main(void) { void *dlopen(const char* filename, unsigned int flags); void *_x = (void *)dlopen; return 0; } ^~~~~~ In file included from ../../test.c:353:0: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/dlfcn.h:56:14: note: previous declaration of 'dlopen' was here extern void *dlopen (const char *__file, int __mode) __THROWNL; ^~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------- Checking for fdatasync ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define fdatasync __fake__fdatasync #ifdef HAVE_LIMITS_H # include #else # include #endif #undef fdatasync #if defined __stub_fdatasync || defined __stub___fdatasync #error "bad glibc stub" #endif extern char fdatasync(); int main() { return fdatasync(); } <== [1/2] Compiling bin/.conf_check_94efb9a8c434aac2f7bc24e77f8db68e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_94efb9a8c434aac2f7bc24e77f8db68e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_94efb9a8c434aac2f7bc24e77f8db68e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_94efb9a8c434aac2f7bc24e77f8db68e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------- Checking for declaration of fdatasync ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef fdatasync void *_x; _x=(void *)&fdatasync; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_e83c7113519603646686eb19e83af8ca/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e83c7113519603646686eb19e83af8ca/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:358:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&fdatasync; return (int)_x; ^ ok --------------------------------------------------------------------- Checking for clock_gettime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define clock_gettime __fake__clock_gettime #ifdef HAVE_LIMITS_H # include #else # include #endif #undef clock_gettime #if defined __stub_clock_gettime || defined __stub___clock_gettime #error "bad glibc stub" #endif extern char clock_gettime(); int main() { return clock_gettime(); } <== [1/2] Compiling bin/.conf_check_35074a50a81a4eadd9a7f0022aadcab8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_35074a50a81a4eadd9a7f0022aadcab8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_35074a50a81a4eadd9a7f0022aadcab8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_35074a50a81a4eadd9a7f0022aadcab8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok ------------------------------------------------------------------------ Checking whether the clock_gettime clock ID CLOCK_MONOTONIC is available ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #if TIME_WITH_SYS_TIME # include # include #else # if HAVE_SYS_TIME_H # include # else # include # endif #endif clockid_t clk = CLOCK_MONOTONIC; return 0; } <== [1/2] Compiling bin/.conf_check_4bdcb1b8bea96660071f2683b180edf4/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4bdcb1b8bea96660071f2683b180edf4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4bdcb1b8bea96660071f2683b180edf4/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4bdcb1b8bea96660071f2683b180edf4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking whether the clock_gettime clock ID CLOCK_PROCESS_CPUTIME_ID is available ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #if TIME_WITH_SYS_TIME # include # include #else # if HAVE_SYS_TIME_H # include # else # include # endif #endif clockid_t clk = CLOCK_PROCESS_CPUTIME_ID; return 0; } <== [1/2] Compiling bin/.conf_check_cb09ded0d19ed0c7e50e4aa26e2ec3b9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cb09ded0d19ed0c7e50e4aa26e2ec3b9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_cb09ded0d19ed0c7e50e4aa26e2ec3b9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cb09ded0d19ed0c7e50e4aa26e2ec3b9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking whether the clock_gettime clock ID CLOCK_REALTIME is available ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #if TIME_WITH_SYS_TIME # include # include #else # if HAVE_SYS_TIME_H # include # else # include # endif #endif clockid_t clk = CLOCK_REALTIME; return 0; } <== [1/2] Compiling bin/.conf_check_c1164f5f908f2cf5a23b7d0c930def61/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c1164f5f908f2cf5a23b7d0c930def61/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c1164f5f908f2cf5a23b7d0c930def61/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c1164f5f908f2cf5a23b7d0c930def61/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for struct timespec ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct timespec _x; return 0; } <== [1/1] Compiling bin/.conf_check_c7e6660a116b13d137bd96ec2066aedc/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c7e6660a116b13d137bd96ec2066aedc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- Checking for header arpa/nameser.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4cab9637385ca0b7bdc956de741f46a4/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4cab9637385ca0b7bdc956de741f46a4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes --------------------------------------------------------------------------------- Checking for header resolv.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_6dc7b9e351752cb08f600ec6a8ac233d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6dc7b9e351752cb08f600ec6a8ac233d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes --------------------------------------------------------------------------------- Checking for res_search ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define res_search __fake__res_search #ifdef HAVE_LIMITS_H # include #else # include #endif #undef res_search #if defined __stub_res_search || defined __stub___res_search #error "bad glibc stub" #endif extern char res_search(); int main() { return res_search(); } <== [1/2] Compiling bin/.conf_check_e472c108f5f3b154bbac2d7e2b0bf6a8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e472c108f5f3b154bbac2d7e2b0bf6a8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e472c108f5f3b154bbac2d7e2b0bf6a8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e472c108f5f3b154bbac2d7e2b0bf6a8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `res_search' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 /* #undef HAVE_RES_SEARCH */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)res_search; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_dcbe1db0cc3f9d41a7e64484b9a10cee/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_dcbe1db0cc3f9d41a7e64484b9a10cee/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:368:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)res_search; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_dcbe1db0cc3f9d41a7e64484b9a10cee/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_dcbe1db0cc3f9d41a7e64484b9a10cee/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `__res_search' /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `__res_search' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for library resolv ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 /* #undef HAVE_RES_SEARCH */ int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_df7737726cf5e2175ed7ca1eb41a3a1b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_df7737726cf5e2175ed7ca1eb41a3a1b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_df7737726cf5e2175ed7ca1eb41a3a1b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_df7737726cf5e2175ed7ca1eb41a3a1b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lresolv', '-ltirpc'] yes --------------------------------------------------------------------------------- Checking for res_search in resolv ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 /* #undef HAVE_RES_SEARCH */ #define HAVE_LIBRESOLV 1 #define res_search __fake__res_search #ifdef HAVE_LIMITS_H # include #else # include #endif #undef res_search #if defined __stub_res_search || defined __stub___res_search #error "bad glibc stub" #endif extern char res_search(); int main() { return res_search(); } <== [1/2] Compiling bin/.conf_check_053d7cae9c4172123e19d002810b4758/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_053d7cae9c4172123e19d002810b4758/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_053d7cae9c4172123e19d002810b4758/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_053d7cae9c4172123e19d002810b4758/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lresolv', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `res_search' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 /* #undef HAVE_RES_SEARCH */ #define HAVE_LIBRESOLV 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)res_search; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_5cbe586f593b08e8e7696f95f8d08181/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5cbe586f593b08e8e7696f95f8d08181/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:369:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)res_search; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_5cbe586f593b08e8e7696f95f8d08181/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5cbe586f593b08e8e7696f95f8d08181/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lresolv', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for header libintl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9c926452d944a9f3cace824e1ecae4e8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_9c926452d944a9f3cace824e1ecae4e8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes --------------------------------------------------------------------------------- Checking for library intl ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_ea47a5783128bc39db99e055239137fb/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ea47a5783128bc39db99e055239137fb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ea47a5783128bc39db99e055239137fb/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ea47a5783128bc39db99e055239137fb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lintl', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lintl collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed --------------------------------------------------------------------------------- Checking for declaration of dgettext ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef dgettext void *_x; _x=(void *)&dgettext; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_30f8ef8151d0ef710f7d576724335ac3/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_30f8ef8151d0ef710f7d576724335ac3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- Checking for declaration of gettext ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef gettext void *_x; _x=(void *)&gettext; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_41a75436840e78d2578cde94a1b8c7f9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_41a75436840e78d2578cde94a1b8c7f9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- Checking for declaration of bindtextdomain ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef bindtextdomain void *_x; _x=(void *)&bindtextdomain; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_66cd3a98655a8e24a4d24747252957a3/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_66cd3a98655a8e24a4d24747252957a3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:372:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&bindtextdomain; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of textdomain ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef textdomain void *_x; _x=(void *)&textdomain; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_91575c3124492b5ef878038eede43f9d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_91575c3124492b5ef878038eede43f9d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:373:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&textdomain; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of bind_textdomain_codeset ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef bind_textdomain_codeset void *_x; _x=(void *)&bind_textdomain_codeset; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_bbffe7925eae07cc2b6a01f7f4da77d3/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_bbffe7925eae07cc2b6a01f7f4da77d3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:374:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&bind_textdomain_codeset; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for bindtextdomain ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define bindtextdomain __fake__bindtextdomain #ifdef HAVE_LIMITS_H # include #else # include #endif #undef bindtextdomain #if defined __stub_bindtextdomain || defined __stub___bindtextdomain #error "bad glibc stub" #endif extern char bindtextdomain(); int main() { return bindtextdomain(); } <== [1/2] Compiling bin/.conf_check_f6cc6bd76a7b217cf8808612cab59e36/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f6cc6bd76a7b217cf8808612cab59e36/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f6cc6bd76a7b217cf8808612cab59e36/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f6cc6bd76a7b217cf8808612cab59e36/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for textdomain ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define textdomain __fake__textdomain #ifdef HAVE_LIMITS_H # include #else # include #endif #undef textdomain #if defined __stub_textdomain || defined __stub___textdomain #error "bad glibc stub" #endif extern char textdomain(); int main() { return textdomain(); } <== [1/2] Compiling bin/.conf_check_745f8c32548a4a7c2716c0eed3062e72/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_745f8c32548a4a7c2716c0eed3062e72/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_745f8c32548a4a7c2716c0eed3062e72/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_745f8c32548a4a7c2716c0eed3062e72/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for bind_textdomain_codeset ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define bind_textdomain_codeset __fake__bind_textdomain_codeset #ifdef HAVE_LIMITS_H # include #else # include #endif #undef bind_textdomain_codeset #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset #error "bad glibc stub" #endif extern char bind_textdomain_codeset(); int main() { return bind_textdomain_codeset(); } <== [1/2] Compiling bin/.conf_check_70a0464c5e19ccf5f131a006b5192f55/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_70a0464c5e19ccf5f131a006b5192f55/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_70a0464c5e19ccf5f131a006b5192f55/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_70a0464c5e19ccf5f131a006b5192f55/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for dgettext ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define dgettext __fake__dgettext #ifdef HAVE_LIMITS_H # include #else # include #endif #undef dgettext #if defined __stub_dgettext || defined __stub___dgettext #error "bad glibc stub" #endif extern char dgettext(); int main() { return dgettext(); } <== [1/2] Compiling bin/.conf_check_ee678ba179cabddf5030cdc5768563f7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ee678ba179cabddf5030cdc5768563f7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:372:38: warning: conflicting types for built-in function 'dgettext' [-Wbuiltin-declaration-mismatch] extern char dgettext(); ^~~~~~~~ [2/2] Linking bin/.conf_check_ee678ba179cabddf5030cdc5768563f7/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ee678ba179cabddf5030cdc5768563f7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for gettext ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define gettext __fake__gettext #ifdef HAVE_LIMITS_H # include #else # include #endif #undef gettext #if defined __stub_gettext || defined __stub___gettext #error "bad glibc stub" #endif extern char gettext(); int main() { return gettext(); } <== [1/2] Compiling bin/.conf_check_f319261f25f9fd3fa77e17a19ece875e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f319261f25f9fd3fa77e17a19ece875e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:373:38: warning: conflicting types for built-in function 'gettext' [-Wbuiltin-declaration-mismatch] extern char gettext(); ^~~~~~~ [2/2] Linking bin/.conf_check_f319261f25f9fd3fa77e17a19ece875e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f319261f25f9fd3fa77e17a19ece875e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for pthread_create ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b3fd4802124b94e6591364c51b45a3e8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b3fd4802124b94e6591364c51b45a3e8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define pthread_create __fake__pthread_create #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_create #if defined __stub_pthread_create || defined __stub___pthread_create #error "bad glibc stub" #endif extern char pthread_create(); int main() { return pthread_create(); } <== [1/2] Compiling bin/.conf_check_6555d0687829cf401390adb4d54a49e9/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6555d0687829cf401390adb4d54a49e9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6555d0687829cf401390adb4d54a49e9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6555d0687829cf401390adb4d54a49e9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: undefined reference to symbol 'pthread_create@@GLIBC_2.27' /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/lib64/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 /* #undef HAVE_PTHREAD_CREATE */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)pthread_create; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_671b22391b3ce65d5baf6c9c63f09139/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_671b22391b3ce65d5baf6c9c63f09139/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:380:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)pthread_create; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_671b22391b3ce65d5baf6c9c63f09139/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_671b22391b3ce65d5baf6c9c63f09139/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: undefined reference to symbol 'pthread_create@@GLIBC_2.27' /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/lib64/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for library pthread ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 /* #undef HAVE_PTHREAD_CREATE */ int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_b9391b544144fc8f61a6ce5bc3df57bc/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b9391b544144fc8f61a6ce5bc3df57bc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b9391b544144fc8f61a6ce5bc3df57bc/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b9391b544144fc8f61a6ce5bc3df57bc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpthread', '-ltirpc'] yes --------------------------------------------------------------------------------- Checking for pthread_create in pthread ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 /* #undef HAVE_PTHREAD_CREATE */ #define HAVE_LIBPTHREAD 1 #define pthread_create __fake__pthread_create #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_create #if defined __stub_pthread_create || defined __stub___pthread_create #error "bad glibc stub" #endif extern char pthread_create(); int main() { return pthread_create(); } <== [1/2] Compiling bin/.conf_check_90fc006268238aae621c42fa7c734342/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_90fc006268238aae621c42fa7c734342/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_90fc006268238aae621c42fa7c734342/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_90fc006268238aae621c42fa7c734342/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpthread', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for pthread_attr_init ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define pthread_attr_init __fake__pthread_attr_init #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_attr_init #if defined __stub_pthread_attr_init || defined __stub___pthread_attr_init #error "bad glibc stub" #endif extern char pthread_attr_init(); int main() { return pthread_attr_init(); } <== [1/2] Compiling bin/.conf_check_1fa603366604947fcbf3bcb4ea3cdb7d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1fa603366604947fcbf3bcb4ea3cdb7d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1fa603366604947fcbf3bcb4ea3cdb7d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1fa603366604947fcbf3bcb4ea3cdb7d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for pthread_mutexattr_setrobust ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define pthread_mutexattr_setrobust __fake__pthread_mutexattr_setrobust #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_mutexattr_setrobust #if defined __stub_pthread_mutexattr_setrobust || defined __stub___pthread_mutexattr_setrobust #error "bad glibc stub" #endif extern char pthread_mutexattr_setrobust(); int main() { return pthread_mutexattr_setrobust(); } <== [1/2] Compiling bin/.conf_check_15ae6754105b01a91a6a4f96e567041f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_15ae6754105b01a91a6a4f96e567041f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_15ae6754105b01a91a6a4f96e567041f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_15ae6754105b01a91a6a4f96e567041f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: undefined reference to symbol 'pthread_mutexattr_setrobust@@GLIBC_2.27' /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/lib64/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 /* #undef HAVE_PTHREAD_MUTEXATTR_SETROBUST */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)pthread_mutexattr_setrobust; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_b187380d302b6accc662cc8a5e71e42a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b187380d302b6accc662cc8a5e71e42a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:384:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)pthread_mutexattr_setrobust; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_b187380d302b6accc662cc8a5e71e42a/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b187380d302b6accc662cc8a5e71e42a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: undefined reference to symbol 'pthread_mutexattr_setrobust@@GLIBC_2.27' /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/lib64/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for pthread_mutexattr_setrobust in pthread ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 /* #undef HAVE_PTHREAD_MUTEXATTR_SETROBUST */ #define pthread_mutexattr_setrobust __fake__pthread_mutexattr_setrobust #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_mutexattr_setrobust #if defined __stub_pthread_mutexattr_setrobust || defined __stub___pthread_mutexattr_setrobust #error "bad glibc stub" #endif extern char pthread_mutexattr_setrobust(); int main() { return pthread_mutexattr_setrobust(); } <== [1/2] Compiling bin/.conf_check_da36bb41ef7b66974b6bcdbe9875fa02/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_da36bb41ef7b66974b6bcdbe9875fa02/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_da36bb41ef7b66974b6bcdbe9875fa02/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_da36bb41ef7b66974b6bcdbe9875fa02/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpthread', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for declaration of PTHREAD_MUTEX_ROBUST ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef PTHREAD_MUTEX_ROBUST void *_x; _x=(void *)&PTHREAD_MUTEX_ROBUST; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_4c7363be8d93482b1c7219f3459a476b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4c7363be8d93482b1c7219f3459a476b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:386:44: error: lvalue required as unary '&' operand void *_x; _x=(void *)&PTHREAD_MUTEX_ROBUST; return (int)_x; ^ ../../test.c:386:74: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&PTHREAD_MUTEX_ROBUST; return (int)_x; ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of PTHREAD_MUTEX_ROBUST (as enum) ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 /* #undef HAVE_DECL_PTHREAD_MUTEX_ROBUST */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return (int)PTHREAD_MUTEX_ROBUST; ; return 0; } <== [1/1] Compiling bin/.conf_check_e174ca1a715586763de83b541e015d19/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e174ca1a715586763de83b541e015d19/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- Checking for pthread_mutex_consistent ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define pthread_mutex_consistent __fake__pthread_mutex_consistent #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_mutex_consistent #if defined __stub_pthread_mutex_consistent || defined __stub___pthread_mutex_consistent #error "bad glibc stub" #endif extern char pthread_mutex_consistent(); int main() { return pthread_mutex_consistent(); } <== [1/2] Compiling bin/.conf_check_2b917d7fc7a36742011a52d3745cfca6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2b917d7fc7a36742011a52d3745cfca6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2b917d7fc7a36742011a52d3745cfca6/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2b917d7fc7a36742011a52d3745cfca6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: undefined reference to symbol 'pthread_mutex_consistent@@GLIBC_2.27' /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/lib64/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 /* #undef HAVE_PTHREAD_MUTEX_CONSISTENT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)pthread_mutex_consistent; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_1a78ca5c4899690ffed1d314647feb4a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1a78ca5c4899690ffed1d314647feb4a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:386:72: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)pthread_mutex_consistent; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_1a78ca5c4899690ffed1d314647feb4a/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1a78ca5c4899690ffed1d314647feb4a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: undefined reference to symbol 'pthread_mutex_consistent@@GLIBC_2.27' /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/lib64/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for pthread_mutex_consistent in pthread ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 /* #undef HAVE_PTHREAD_MUTEX_CONSISTENT */ #define pthread_mutex_consistent __fake__pthread_mutex_consistent #ifdef HAVE_LIMITS_H # include #else # include #endif #undef pthread_mutex_consistent #if defined __stub_pthread_mutex_consistent || defined __stub___pthread_mutex_consistent #error "bad glibc stub" #endif extern char pthread_mutex_consistent(); int main() { return pthread_mutex_consistent(); } <== [1/2] Compiling bin/.conf_check_ae8bcee4be3e3230abfa7e16b105d7d4/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ae8bcee4be3e3230abfa7e16b105d7d4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ae8bcee4be3e3230abfa7e16b105d7d4/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ae8bcee4be3e3230abfa7e16b105d7d4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpthread', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for __thread local storage ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include __thread int tls; int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_64bc846d8a9ae51732bd3aa404f389dc/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_64bc846d8a9ae51732bd3aa404f389dc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_64bc846d8a9ae51732bd3aa404f389dc/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_64bc846d8a9ae51732bd3aa404f389dc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for crypt ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define crypt __fake__crypt #ifdef HAVE_LIMITS_H # include #else # include #endif #undef crypt #if defined __stub_crypt || defined __stub___crypt #error "bad glibc stub" #endif extern char crypt(); int main() { return crypt(); } <== [1/2] Compiling bin/.conf_check_b70c968dfb3123f4c45d7e5f12dd8c9e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b70c968dfb3123f4c45d7e5f12dd8c9e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b70c968dfb3123f4c45d7e5f12dd8c9e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_b70c968dfb3123f4c45d7e5f12dd8c9e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `crypt' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 /* #undef HAVE_CRYPT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)crypt; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_cb3b2d4aac6d9d1e604ba12426ad6e2a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cb3b2d4aac6d9d1e604ba12426ad6e2a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:388:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)crypt; return (int)__x; return 0; } ^ [2/2] Linking bin/.conf_check_cb3b2d4aac6d9d1e604ba12426ad6e2a/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_cb3b2d4aac6d9d1e604ba12426ad6e2a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `crypt' /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c:(.text.startup+0x4): undefined reference to `crypt' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for library crypt ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 /* #undef HAVE_CRYPT */ int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_a2d2697418f8b992aed2ca5a963de4b4/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a2d2697418f8b992aed2ca5a963de4b4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a2d2697418f8b992aed2ca5a963de4b4/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a2d2697418f8b992aed2ca5a963de4b4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lcrypt', '-ltirpc'] yes --------------------------------------------------------------------------------- Checking for crypt in crypt ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 /* #undef HAVE_CRYPT */ #define HAVE_LIBCRYPT 1 #define crypt __fake__crypt #ifdef HAVE_LIMITS_H # include #else # include #endif #undef crypt #if defined __stub_crypt || defined __stub___crypt #error "bad glibc stub" #endif extern char crypt(); int main() { return crypt(); } <== [1/2] Compiling bin/.conf_check_30477af5ad4e93d397e47e51bbf21afa/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_30477af5ad4e93d397e47e51bbf21afa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_30477af5ad4e93d397e47e51bbf21afa/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_30477af5ad4e93d397e47e51bbf21afa/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lcrypt', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for crypt_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define crypt_r __fake__crypt_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef crypt_r #if defined __stub_crypt_r || defined __stub___crypt_r #error "bad glibc stub" #endif extern char crypt_r(); int main() { return crypt_r(); } <== [1/2] Compiling bin/.conf_check_1d16a85b15c912015918040180e4fd5f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1d16a85b15c912015918040180e4fd5f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1d16a85b15c912015918040180e4fd5f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_1d16a85b15c912015918040180e4fd5f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] err: /home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `crypt_r' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 /* #undef HAVE_CRYPT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)crypt_r; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_8c1e903e11f6a8c3a8cea039133a9c8f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8c1e903e11f6a8c3a8cea039133a9c8f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:390:39: error: 'crypt_r' undeclared (first use in this function); did you mean 'crypt'? int main(void) { void *__x = (void *)crypt_r; return (int)__x; return 0; } ^~~~~~~ crypt ../../test.c:390:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:390:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int main(void) { void *__x = (void *)crypt_r; return (int)__x; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for crypt_r in crypt ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 /* #undef HAVE_CRYPT_R */ #define crypt_r __fake__crypt_r #ifdef HAVE_LIMITS_H # include #else # include #endif #undef crypt_r #if defined __stub_crypt_r || defined __stub___crypt_r #error "bad glibc stub" #endif extern char crypt_r(); int main() { return crypt_r(); } <== [1/2] Compiling bin/.conf_check_d85f89a25fd2fe9c989e5622155f1c0c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d85f89a25fd2fe9c989e5622155f1c0c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d85f89a25fd2fe9c989e5622155f1c0c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d85f89a25fd2fe9c989e5622155f1c0c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lcrypt', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for header readline.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e2a013b9a75b94dfc2f72c20174f6e7c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e2a013b9a75b94dfc2f72c20174f6e7c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:389:10: fatal error: readline.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed --------------------------------------------------------------------------------- Checking for header readline/readline.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8daf875bc88320b4c4ec651de29865e7/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8daf875bc88320b4c4ec651de29865e7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes --------------------------------------------------------------------------------- Checking for header readline/history.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_91089263a4f599076310ea66582357b0/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_91089263a4f599076310ea66582357b0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes --------------------------------------------------------------------------------- Checking for variable rl_event_hook ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef rl_event_hook void *_x; _x=(void *)&rl_event_hook; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_20f8d6551e594c24b7c31f6d4c00c907/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_20f8d6551e594c24b7c31f6d4c00c907/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:396:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&rl_event_hook; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for variable program_invocation_short_name ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef program_invocation_short_name void *_x; _x=(void *)&program_invocation_short_name; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_a109c187766fba40ec9d421c8db31712/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a109c187766fba40ec9d421c8db31712/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:396:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&program_invocation_short_name; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of snprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef snprintf void *_x; _x=(void *)&snprintf; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_25d007024b71291fd39026aba41b58ec/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_25d007024b71291fd39026aba41b58ec/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:396:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&snprintf; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of vsnprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef vsnprintf void *_x; _x=(void *)&vsnprintf; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_5c69cc5ed5fd5d05e57b92aea6a4179a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5c69cc5ed5fd5d05e57b92aea6a4179a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:397:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&vsnprintf; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of asprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef asprintf void *_x; _x=(void *)&asprintf; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_6beb95a99b77c474309c25a563d5663d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6beb95a99b77c474309c25a563d5663d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:398:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&asprintf; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of vasprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef vasprintf void *_x; _x=(void *)&vasprintf; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_3471c64f69773ebd8d46e7abeff46ced/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3471c64f69773ebd8d46e7abeff46ced/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:399:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&vasprintf; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of errno ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef errno void *_x; _x=(void *)&errno; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_52299a81737f06ff3bc9301ea649393c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_52299a81737f06ff3bc9301ea649393c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- Checking for declaration of EWOULDBLOCK ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef EWOULDBLOCK void *_x; _x=(void *)&EWOULDBLOCK; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_2496aa304ccfc110be72fc83b540fbed/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2496aa304ccfc110be72fc83b540fbed/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- Checking for declaration of environ ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef environ void *_x; _x=(void *)&environ; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_dbeffbda76d5462c578fc3632188e5aa/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_dbeffbda76d5462c578fc3632188e5aa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:403:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&environ; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of getgrent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef getgrent_r void *_x; _x=(void *)&getgrent_r; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_d20e7250004e3d1bf51cff21c5a6a36f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d20e7250004e3d1bf51cff21c5a6a36f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:405:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&getgrent_r; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of getpwent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef getpwent_r void *_x; _x=(void *)&getpwent_r; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_c72f85699dfd2ed3e91d134d4b329c78/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c72f85699dfd2ed3e91d134d4b329c78/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:406:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&getpwent_r; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of pread ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef pread void *_x; _x=(void *)&pread; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_74fc25f9bf2334f01fe9c26bf66be635/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_74fc25f9bf2334f01fe9c26bf66be635/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:405:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&pread; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of pwrite ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef pwrite void *_x; _x=(void *)&pwrite; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_54250bbd2f5e5708d96922f598fdba5f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_54250bbd2f5e5708d96922f598fdba5f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:406:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&pwrite; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of setenv ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef setenv void *_x; _x=(void *)&setenv; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_5c3e1ab02a013d2bee06d6dc7588c622/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5c3e1ab02a013d2bee06d6dc7588c622/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:407:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&setenv; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of setresgid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef setresgid void *_x; _x=(void *)&setresgid; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_29fb489d01cd51bdbd074a4acdc14f9a/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_29fb489d01cd51bdbd074a4acdc14f9a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:408:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&setresgid; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for declaration of setresuid ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef setresuid void *_x; _x=(void *)&setresuid; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_86dbbb8372b579871fa15cda2da164a8/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_86dbbb8372b579871fa15cda2da164a8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:409:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&setresuid; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for eventfd ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_990789dddf8265cc102629885ac60a6e/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_990789dddf8265cc102629885ac60a6e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define eventfd __fake__eventfd #ifdef HAVE_LIMITS_H # include #else # include #endif #undef eventfd #if defined __stub_eventfd || defined __stub___eventfd #error "bad glibc stub" #endif extern char eventfd(); int main() { return eventfd(); } <== [1/2] Compiling bin/.conf_check_04f80547dfc25ade5e101ae055998193/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_04f80547dfc25ade5e101ae055998193/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_04f80547dfc25ade5e101ae055998193/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_04f80547dfc25ade5e101ae055998193/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for header poll.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4eb6b1c60f9a814d9de40c127c974246/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4eb6b1c60f9a814d9de40c127c974246/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes --------------------------------------------------------------------------------- Checking for poll ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define poll __fake__poll #ifdef HAVE_LIMITS_H # include #else # include #endif #undef poll #if defined __stub_poll || defined __stub___poll #error "bad glibc stub" #endif extern char poll(); int main() { return poll(); } <== [1/2] Compiling bin/.conf_check_73e594124554aa7e433c3575569e1995/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_73e594124554aa7e433c3575569e1995/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_73e594124554aa7e433c3575569e1995/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_73e594124554aa7e433c3575569e1995/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for strptime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define strptime __fake__strptime #ifdef HAVE_LIMITS_H # include #else # include #endif #undef strptime #if defined __stub_strptime || defined __stub___strptime #error "bad glibc stub" #endif extern char strptime(); int main() { return strptime(); } <== [1/2] Compiling bin/.conf_check_d574b7ee736284f2332203aa053d8618/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d574b7ee736284f2332203aa053d8618/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d574b7ee736284f2332203aa053d8618/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d574b7ee736284f2332203aa053d8618/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for declaration of strptime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef strptime void *_x; _x=(void *)&strptime; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_46519c244ebcfc7e1513ab29832012aa/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_46519c244ebcfc7e1513ab29832012aa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:417:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&strptime; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking for working strptime ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define LIBREPLACE_CONFIGURE_TEST_STRPTIME #include "tests/strptime.c" <== [1/3] Compiling bin/.conf_check_39e674bd35edc06765fcf03711cbf3b5/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_39e674bd35edc06765fcf03711cbf3b5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_39e674bd35edc06765fcf03711cbf3b5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_39e674bd35edc06765fcf03711cbf3b5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_39e674bd35edc06765fcf03711cbf3b5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_39e674bd35edc06765fcf03711cbf3b5/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking for working strptime'] ok --------------------------------------------------------------------------------- Checking for declaration of gettimeofday ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef gettimeofday void *_x; _x=(void *)&gettimeofday; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_d4cd3b5f8c2dd3ae715c13777825c506/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d4cd3b5f8c2dd3ae715c13777825c506/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:419:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&gettimeofday; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking C prototype for gettimeofday ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int gettimeofday(struct timeval *tv, struct timezone *tz); void *_x = (void *)gettimeofday; return 0; } <== [1/1] Compiling bin/.conf_check_deb6ef633830b1925bf1710fee974695/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_deb6ef633830b1925bf1710fee974695/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- Checking C prototype for gettimeofday ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int gettimeofday(struct timeval *tv, void *tz); void *_x = (void *)gettimeofday; return 0; } <== [1/1] Compiling bin/.conf_check_77e9d42ffd3939c8af84503b697c7691/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_77e9d42ffd3939c8af84503b697c7691/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:419:23: error: conflicting types for 'gettimeofday' int main(void) { int gettimeofday(struct timeval *tv, void *tz); void *_x = (void *)gettimeofday; return 0; } ^~~~~~~~~~~~ In file included from ../../test.c:417:0: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/time.h:68:12: note: previous declaration of 'gettimeofday' was here extern int gettimeofday (struct timeval *__restrict __tv, ^~~~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for C99 vsnprintf ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "tests/snprintf.c" <== [1/3] Compiling bin/.conf_check_2366465ca5fe42fb4c48e27fa2ac59fb/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2366465ca5fe42fb4c48e27fa2ac59fb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from ../../test.c:419:0: /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/tests/snprintf.c: In function 'foo': /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/tests/snprintf.c:23:24: warning: unknown escape sequence: '\$' if (snprintf(buf, 20, "%2\$d %1\$d", 3, 4) != 3 || strcmp(buf, "4 3") != 0) exit(6); ^~~~~~~~~~~~~ /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/tests/snprintf.c:23:24: warning: unknown escape sequence: '\$' [2/3] Linking bin/.conf_check_2366465ca5fe42fb4c48e27fa2ac59fb/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2366465ca5fe42fb4c48e27fa2ac59fb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_2366465ca5fe42fb4c48e27fa2ac59fb/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_2366465ca5fe42fb4c48e27fa2ac59fb/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking for C99 vsnprintf'] ok --------------------------------------------------------------------------------- Checking for HAVE_SHARED_MMAP ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #include "tests/shared_mmap.c" <== [1/3] Compiling bin/.conf_check_3cb64e0c9ddf2bf432860f339b494a25/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3cb64e0c9ddf2bf432860f339b494a25/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_3cb64e0c9ddf2bf432860f339b494a25/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3cb64e0c9ddf2bf432860f339b494a25/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_3cb64e0c9ddf2bf432860f339b494a25/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3cb64e0c9ddf2bf432860f339b494a25/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking for HAVE_SHARED_MMAP'] ok --------------------------------------------------------------------------------- Checking for HAVE_MREMAP ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #include "tests/shared_mremap.c" <== [1/3] Compiling bin/.conf_check_5bfbfb7a750e10928e1c58d0e9456f81/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5bfbfb7a750e10928e1c58d0e9456f81/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_5bfbfb7a750e10928e1c58d0e9456f81/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5bfbfb7a750e10928e1c58d0e9456f81/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_5bfbfb7a750e10928e1c58d0e9456f81/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_5bfbfb7a750e10928e1c58d0e9456f81/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking for HAVE_MREMAP'] ok --------------------------------------------------------------------------------- Checking for HAVE_INCOHERENT_MMAP ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 #include "tests/incoherent_mmap.c" <== [1/3] Compiling bin/.conf_check_d487ba4d7a08e19ce64876d22b3c257f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d487ba4d7a08e19ce64876d22b3c257f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_d487ba4d7a08e19ce64876d22b3c257f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d487ba4d7a08e19ce64876d22b3c257f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_d487ba4d7a08e19ce64876d22b3c257f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_d487ba4d7a08e19ce64876d22b3c257f/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking for HAVE_INCOHERENT_MMAP'] from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed False not found --------------------------------------------------------------------------------- Checking for HAVE_IMMEDIATE_STRUCTURES ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { typedef struct {unsigned x;} FOOBAR; #define X_FOOBAR(x) ((FOOBAR) { x }) #define FOO_ONE X_FOOBAR(1) FOOBAR f = FOO_ONE; static const struct { FOOBAR y; } f2[] = { {FOO_ONE} }; static const FOOBAR f3[] = {FOO_ONE}; ; return 0; } <== [1/2] Compiling bin/.conf_check_7ee53f0240cfc427e36cbac1008b7811/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7ee53f0240cfc427e36cbac1008b7811/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7ee53f0240cfc427e36cbac1008b7811/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7ee53f0240cfc427e36cbac1008b7811/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for HAVE_MKDIR_MODE ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { mkdir("foo",0777); return 0; } <== [1/2] Compiling bin/.conf_check_3f7b07c83066129709123272f0ee041c/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3f7b07c83066129709123272f0ee041c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3f7b07c83066129709123272f0ee041c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3f7b07c83066129709123272f0ee041c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for member st_mtim.tv_nsec in struct stat ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct stat s; void *_x; _x=(void *)&s.st_mtim.tv_nsec; return 0; } <== [1/1] Compiling bin/.conf_check_f2d0e119563249591c330aba590dadc0/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f2d0e119563249591c330aba590dadc0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- Checking for member st_rdev in struct stat ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct stat s; void *_x; _x=(void *)&s.st_rdev; return 0; } <== [1/1] Compiling bin/.conf_check_45794f01c28cc04d42c1173eb55a7bf6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_45794f01c28cc04d42c1173eb55a7bf6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- Checking for member st_rdev in struct stat ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct stat s; void *_x; _x=(void *)&s.st_rdev; return 0; } <== [1/1] Compiling bin/.conf_check_3331add491d0ab81486a815d4e82c485/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3331add491d0ab81486a815d4e82c485/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- Checking for member ss_family in struct sockaddr_storage ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.ss_family; return 0; } <== [1/1] Compiling bin/.conf_check_01e76194843389084ccf307ddf8ac6fe/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_01e76194843389084ccf307ddf8ac6fe/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- Checking for member __ss_family in struct sockaddr_storage ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.__ss_family; return 0; } <== [1/1] Compiling bin/.conf_check_a91d1a855578d4148a765907cf1ee3ad/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a91d1a855578d4148a765907cf1ee3ad/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:431:70: error: 'struct sockaddr_storage' has no member named '__ss_family'; did you mean 'ss_family'? int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.__ss_family; return 0; } ^~~~~~~~~~~ ss_family from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for member sa_len in struct sockaddr ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr s; void *_x; _x=(void *)&s.sa_len; return 0; } <== [1/1] Compiling bin/.conf_check_4aeaddac76b26bb7f7ce6f269fce4588/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4aeaddac76b26bb7f7ce6f269fce4588/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:432:61: error: 'struct sockaddr' has no member named 'sa_len' int main(void) { struct sockaddr s; void *_x; _x=(void *)&s.sa_len; return 0; } ^ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for member sin_len in struct sockaddr_in ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_in s; void *_x; _x=(void *)&s.sin_len; return 0; } <== [1/1] Compiling bin/.conf_check_c9416137737467f9172eac8b401d80cc/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c9416137737467f9172eac8b401d80cc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:433:65: error: 'struct sockaddr_in' has no member named 'sin_len'; did you mean 'sin_zero'? int main(void) { struct sockaddr_in s; void *_x; _x=(void *)&s.sin_len; return 0; } ^~~~~~~ sin_zero from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for member sin6_len in struct sockaddr_in6 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_in6 s; void *_x; _x=(void *)&s.sin6_len; return 0; } <== [1/1] Compiling bin/.conf_check_83ba7e3cfc3800ce145ba2431c8c45de/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_83ba7e3cfc3800ce145ba2431c8c45de/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:434:66: error: 'struct sockaddr_in6' has no member named 'sin6_len'; did you mean 'sin6_port'? int main(void) { struct sockaddr_in6 s; void *_x; _x=(void *)&s.sin6_len; return 0; } ^~~~~~~~ sin6_port from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for HAVE_UNIXSOCKET ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct sockaddr_un sunaddr; sunaddr.sun_family = AF_UNIX;; return 0; } <== [1/2] Compiling bin/.conf_check_8f23c688a6bacd4f0a76773b09f78e33/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8f23c688a6bacd4f0a76773b09f78e33/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8f23c688a6bacd4f0a76773b09f78e33/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_8f23c688a6bacd4f0a76773b09f78e33/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for HAVE_SECURE_MKSTEMP ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct stat st; char tpl[20]="/tmp/test.XXXXXX"; char tpl2[20]="/tmp/test.XXXXXX"; int fd = mkstemp(tpl); int fd2 = mkstemp(tpl2); if (fd == -1) { if (fd2 != -1) { unlink(tpl2); } exit(1); } if (fd2 == -1) exit(1); unlink(tpl); unlink(tpl2); if (fstat(fd, &st) != 0) exit(1); if ((st.st_mode & 0777) != 0600) exit(1); if (strcmp(tpl, "/tmp/test.XXXXXX") == 0) { exit(1); } if (strcmp(tpl, tpl2) == 0) { exit(1); } exit(0); ; return 0; } <== [1/3] Compiling bin/.conf_check_7013e2805bf3003d6d896bec4ff8b284/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7013e2805bf3003d6d896bec4ff8b284/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_7013e2805bf3003d6d896bec4ff8b284/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7013e2805bf3003d6d896bec4ff8b284/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] [3/3] Processing bin/.conf_check_7013e2805bf3003d6d896bec4ff8b284/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_7013e2805bf3003d6d896bec4ff8b284/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/cache.txt', 'Checking for HAVE_SECURE_MKSTEMP'] ok --------------------------------------------------------------------------------- Checking for HAVE_IFACE_GETIFADDRS ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define HAVE_IFACE_GETIFADDRS 1 #define NO_CONFIG_H 1 #define AUTOCONF_TEST 1 #include "replace.c" #include "inet_ntop.c" #include "snprintf.c" #include "getifaddrs.c" #define getifaddrs_test main #include "tests/getifaddrs.c" <== [1/3] Compiling bin/.conf_check_ada937eb8a35a3cc011c8f7796b0995b/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_ada937eb8a35a3cc011c8f7796b0995b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/replace.c:26:0, from ../../test.c:439: /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required #error -D__STDC_WANT_LIB_EXT1__=1 required ^~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for HAVE_IFACE_AIX ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define HAVE_IFACE_AIX 1 #define NO_CONFIG_H 1 #define AUTOCONF_TEST 1 #include "replace.c" #include "inet_ntop.c" #include "snprintf.c" #include "getifaddrs.c" #define getifaddrs_test main #include "tests/getifaddrs.c" <== [1/3] Compiling bin/.conf_check_0f19a370b1906d45431782f915ca4599/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_0f19a370b1906d45431782f915ca4599/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/replace.c:26:0, from ../../test.c:440: /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required #error -D__STDC_WANT_LIB_EXT1__=1 required ^~~~~ In file included from ../../test.c:443:0: /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/getifaddrs.c: In function 'rep_getifaddrs': /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/getifaddrs.c:318:22: error: 'struct sockaddr' has no member named 'sa_len' inc = ifr->ifr_addr.sa_len; ^ /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/getifaddrs.c:321:17: warning: passing argument 1 of 'freeaddrinfo' from incompatible pointer type [-Wincompatible-pointer-types] freeaddrinfo(*ifap); ^ In file included from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/system/network.h:54:0, from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/replace.c:30, from ../../test.c:440: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:666:13: note: expected 'struct addrinfo *' but argument is of type 'struct ifaddrs *' extern void freeaddrinfo (struct addrinfo *__ai) __THROW; ^~~~~~~~~~~~ In file included from ../../test.c:443:0: /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/getifaddrs.c:340:17: warning: passing argument 1 of 'freeaddrinfo' from incompatible pointer type [-Wincompatible-pointer-types] freeaddrinfo(*ifap); ^ In file included from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/system/network.h:54:0, from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/replace.c:30, from ../../test.c:440: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:666:13: note: expected 'struct addrinfo *' but argument is of type 'struct ifaddrs *' extern void freeaddrinfo (struct addrinfo *__ai) __THROW; ^~~~~~~~~~~~ In file included from ../../test.c:443:0: /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/getifaddrs.c:347:17: warning: passing argument 1 of 'freeaddrinfo' from incompatible pointer type [-Wincompatible-pointer-types] freeaddrinfo(*ifap); ^ In file included from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/system/network.h:54:0, from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/replace.c:30, from ../../test.c:440: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:666:13: note: expected 'struct addrinfo *' but argument is of type 'struct ifaddrs *' extern void freeaddrinfo (struct addrinfo *__ai) __THROW; ^~~~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for HAVE_IFACE_IFCONF ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define HAVE_IFACE_IFCONF 1 #define NO_CONFIG_H 1 #define AUTOCONF_TEST 1 #include "replace.c" #include "inet_ntop.c" #include "snprintf.c" #include "getifaddrs.c" #define getifaddrs_test main #include "tests/getifaddrs.c" <== [1/3] Compiling bin/.conf_check_6e10b02f7ba0bbf00dfe4af43ae8dd74/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6e10b02f7ba0bbf00dfe4af43ae8dd74/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/replace.c:26:0, from ../../test.c:441: /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required #error -D__STDC_WANT_LIB_EXT1__=1 required ^~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for HAVE_IFACE_IFREQ ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define HAVE_IFACE_IFREQ 1 #define NO_CONFIG_H 1 #define AUTOCONF_TEST 1 #include "replace.c" #include "inet_ntop.c" #include "snprintf.c" #include "getifaddrs.c" #define getifaddrs_test main #include "tests/getifaddrs.c" <== [1/3] Compiling bin/.conf_check_719a937d1e418596fa3da1e4320cd461/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_719a937d1e418596fa3da1e4320cd461/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/replace.c:26:0, from ../../test.c:442: /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required #error -D__STDC_WANT_LIB_EXT1__=1 required ^~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of getpwent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef getpwent_r void *_x; _x=(void *)&getpwent_r; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_a0b3516792910ac36c2dc042d72f089d/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_a0b3516792910ac36c2dc042d72f089d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:442:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&getpwent_r; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking C prototype for getpwent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen); void *_x = (void *)getpwent_r; return 0; } <== [1/1] Compiling bin/.conf_check_995e97c8e8346e57fee0aabbb2e12351/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_995e97c8e8346e57fee0aabbb2e12351/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:441:34: error: conflicting types for 'getpwent_r' int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen); void *_x = (void *)getpwent_r; return 0; } ^~~~~~~~~~ In file included from ../../test.c:439:0: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/pwd.h:139:12: note: previous declaration of 'getpwent_r' was here extern int getpwent_r (struct passwd *__restrict __resultbuf, ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/system: The configuration failed not found --------------------------------------------------------------------------------- Checking for declaration of getgrent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef getgrent_r void *_x; _x=(void *)&getgrent_r; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_6e9a58aaca02712ba5f7170d39aab1a4/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_6e9a58aaca02712ba5f7170d39aab1a4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:444:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] void *_x; _x=(void *)&getgrent_r; return (int)_x; ^ ok --------------------------------------------------------------------------------- Checking C prototype for getgrent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct group *getgrent_r(struct group *src, char *buf, int buflen); void *_x = (void *)getgrent_r; return 0; } <== [1/1] Compiling bin/.conf_check_4ebb7b8464f08b65fcb7fc09e589eabb/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_4ebb7b8464f08b65fcb7fc09e589eabb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:443:33: error: conflicting types for 'getgrent_r' int main(void) { struct group *getgrent_r(struct group *src, char *buf, int buflen); void *_x = (void *)getgrent_r; return 0; } ^~~~~~~~~~ In file included from ../../test.c:441:0: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/grp.h:131:12: note: previous declaration of 'getgrent_r' was here extern int getgrent_r (struct group *__restrict __resultbuf, ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/system: The configuration failed not found --------------------------------------------------------------------------------- Checking C prototype for getpwent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 /* #undef SOLARIS_GETGRENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen); void *_x = (void *)getpwent_r; return 0; } <== [1/1] Compiling bin/.conf_check_124db1f0e71ed38bf6bf49027c699b47/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_124db1f0e71ed38bf6bf49027c699b47/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:444:34: error: conflicting types for 'getpwent_r' int main(void) { struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen); void *_x = (void *)getpwent_r; return 0; } ^~~~~~~~~~ In file included from ../../test.c:442:0: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/pwd.h:139:12: note: previous declaration of 'getpwent_r' was here extern int getpwent_r (struct passwd *__restrict __resultbuf, ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/system: The configuration failed not found --------------------------------------------------------------------------------- Checking C prototype for getgrent_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 /* #undef SOLARIS_GETGRENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { struct group *getgrent_r(struct group *src, char *buf, size_t buflen); void *_x = (void *)getgrent_r; return 0; } <== [1/1] Compiling bin/.conf_check_c6efb1bb238041355c59d11fc545e5b6/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_c6efb1bb238041355c59d11fc545e5b6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c: In function 'main': ../../test.c:444:33: error: conflicting types for 'getgrent_r' int main(void) { struct group *getgrent_r(struct group *src, char *buf, size_t buflen); void *_x = (void *)getgrent_r; return 0; } ^~~~~~~~~~ In file included from ../../test.c:442:0: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/grp.h:131:12: note: previous declaration of 'getgrent_r' was here extern int getgrent_r (struct group *__restrict __resultbuf, ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/system: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace/system: The configuration failed not found --------------------------------------------------------------------------------- Checking for strerror_r ok --------------------------------------------------------------------------------- Checking for XSI (rather than GNU) prototype for strerror_r ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 /* #undef SOLARIS_GETGRENT_R */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int strerror_r(int errnum, char *buf, size_t buflen); <== [1/1] Compiling bin/.conf_check_308c0d2c6a8bd7018b323ebb3a73f618/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_308c0d2c6a8bd7018b323ebb3a73f618/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:444:5: error: conflicting types for 'strerror_r' int strerror_r(int errnum, char *buf, size_t buflen); ^~~~~~~~~~ In file included from /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/memory.h:29:0, from ../../test.c:433: /home/buildroot/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:420:14: note: previous declaration of 'strerror_r' was here extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for HAVE_FUSE_FUSE_LOWLEVEL_H ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 /* #undef SOLARIS_GETGRENT_R */ /* #undef STRERROR_R_XSI_NOT_GNU */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define FUSE_USE_VERSION 26 #define _FILE_OFFSET_BITS 64 #include "fuse/fuse_lowlevel.h" int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_3253205fc3a28012a62573e4b3aeac21/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/fuse', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3253205fc3a28012a62573e4b3aeac21/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3253205fc3a28012a62573e4b3aeac21/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_3253205fc3a28012a62573e4b3aeac21/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for library fuse ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 /* #undef SOLARIS_GETGRENT_R */ /* #undef STRERROR_R_XSI_NOT_GNU */ #define HAVE_FUSE_FUSE_LOWLEVEL_H 1 int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_f3c7a0246433545a1193ded8badb06ee/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f3c7a0246433545a1193ded8badb06ee/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f3c7a0246433545a1193ded8badb06ee/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_f3c7a0246433545a1193ded8badb06ee/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lfuse', '-ltirpc'] yes --------------------------------------------------------------------------------- Checking for fuse_mount in fuse ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_KRB5_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_LIBAIO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_CAPABILITY_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_STROPTS_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_SECURITY_PAM_APPL_H 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_RPC_RPC_HEADERS 1 #define HAVE_TIRPC 1 #define HAVE_SYS_SYSCTL_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETNAMEINFO 1 #define HAVE_FREEADDRINFO 1 #define HAVE_GAI_STRERROR 1 #define HAVE_SOCKETPAIR 1 /* #undef HAVE_MEMSET_S */ /* #undef HAVE_MEMSET_EXPLICIT */ #define HAVE_GCC_VOLATILE_MEMORY_PROTECTION 1 #define HAVE_IPV6_V6ONLY 1 #define HAVE_NET_IF_H 1 #define HAVE_IPV6 1 #define HAVE_UCONTEXT_T 1 #define HAVE___SYNC_FETCH_AND_ADD 1 /* #undef HAVE_ATOMIC_ADD_32 */ #define HAVE_ATOMIC_THREAD_FENCE 1 #define HAVE_ATOMIC_THREAD_FENCE_SUPPORT 1 #define HAVE_FALLTHROUGH_ATTRIBUTE 1 #define HAVE_STRDUP 1 #define HAVE_MEMMEM 1 #define HAVE_PRINTF 1 #define HAVE_MEMSET 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCPY 1 #define HAVE_STRNCPY 1 #define HAVE_BZERO 1 /* #undef HAVE_SHL_LOAD */ /* #undef HAVE_SHL_UNLOAD */ /* #undef HAVE_SHL_FINDSYM */ #define HAVE_PIPE 1 #define HAVE_STRFTIME 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SRAND 1 #define HAVE_RAND 1 #define HAVE_USLEEP 1 #define HAVE_SETBUFFER 1 #define HAVE_LSTAT 1 #define HAVE_GETPGRP 1 #define HAVE_UTIME 1 #define HAVE_UTIMES 1 #define HAVE_SETUID 1 #define HAVE_SETEUID 1 #define HAVE_SETREUID 1 #define HAVE_SETRESUID 1 #define HAVE_SETGID 1 #define HAVE_SETEGID 1 #define HAVE_SETREGID 1 #define HAVE_SETRESGID 1 #define HAVE_CHROOT 1 #define HAVE_STRERROR 1 #define HAVE_VSYSLOG 1 #define HAVE_SETLINEBUF 1 #define HAVE_MKTIME 1 #define HAVE_FTRUNCATE 1 /* #undef HAVE_CHSIZE */ #define HAVE_RENAME 1 #define HAVE_WAITPID 1 #define HAVE_WAIT4 1 #define HAVE_INITGROUPS 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_STRNDUP 1 #define HAVE_STRCASESTR 1 #define HAVE_STRSEP 1 #define HAVE_STRTOK_R 1 #define HAVE_MKDTEMP 1 #define HAVE_DUP2 1 #define HAVE_DPRINTF 1 #define HAVE_VDPRINTF 1 #define HAVE_ISATTY 1 #define HAVE_CHOWN 1 #define HAVE_LCHOWN 1 #define HAVE_LINK 1 #define HAVE_READLINK 1 #define HAVE_SYMLINK 1 #define HAVE_REALPATH 1 #define HAVE_SNPRINTF 1 #define HAVE_VSNPRINTF 1 #define HAVE_ASPRINTF 1 #define HAVE_VASPRINTF 1 #define HAVE_SETENV 1 #define HAVE_UNSETENV 1 #define HAVE_STRNLEN 1 #define HAVE_STRTOULL 1 /* #undef HAVE___STRTOULL */ #define HAVE_STRTOUQ 1 #define HAVE_STRTOLL 1 /* #undef HAVE___STRTOLL */ #define HAVE_STRTOQ 1 #define HAVE_MEMALIGN 1 #define HAVE_POSIX_MEMALIGN 1 #define HAVE_FMEMOPEN 1 #define HAVE_MALLOC_H 1 #define HAVE_DECL_MEMALIGN 1 #define _POSIX_FALLOCATE_CAPABLE_LIBC 1 #define HAVE_POSIX_FALLOCATE 1 #define HAVE_DIRNAME 1 #define HAVE_BASENAME 1 #define HAVE_PEERCRED 1 /* #undef HAVE_BSD_STRTOLL */ #define HAVE_IF_NAMETOINDEX 1 #define HAVE_STRERROR_R 1 #define HAVE_GETDIRENTRIES 1 /* #undef HAVE_GETDENTS */ #define HAVE_SYSLOG 1 #define HAVE_GET_CURRENT_DIR_NAME 1 #define HAVE_TIMEGM 1 #define HAVE_GETIFADDRS 1 #define HAVE_FREEIFADDRS 1 #define HAVE_MMAP 1 #define HAVE_SETGROUPS 1 #define HAVE_SYSCALL 1 #define HAVE_SETSID 1 #define HAVE_GETGRENT_R 1 #define HAVE_GETGRGID_R 1 #define HAVE_GETGRNAM_R 1 #define HAVE_GETGROUPLIST 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPWENT_R 1 #define HAVE_GETPWNAM_R 1 #define HAVE_GETPWUID_R 1 #define HAVE_EPOLL_CREATE 1 /* #undef HAVE_PORT_CREATE */ /* #undef HAVE_GETPROGNAME */ #define HAVE_XATTR_SUPPORT 1 #define HAVE_GETXATTR 1 #define HAVE_XATTR_XATTR 1 /* #undef XATTR_ADDITIONAL_OPTIONS */ #define HAVE_DLFCN_H 1 #define HAVE_DLOPEN 1 #define HAVE_DLSYM 1 #define HAVE_DLERROR 1 #define HAVE_DLCLOSE 1 #define HAVE_LIBDL 1 #define HAVE_DECL_DLOPEN 1 /* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */ #define HAVE_FDATASYNC 1 #define HAVE_DECL_FDATASYNC 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_CLOCK_MONOTONIC 1 #define HAVE_CLOCK_PROCESS_CPUTIME_ID 1 #define HAVE_CLOCK_REALTIME 1 #define HAVE_STRUCT_TIMESPEC 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_RESOLV_H 1 #define HAVE_RES_SEARCH 1 #define HAVE_LIBRESOLV 1 #define HAVE_LIBINTL_H 1 #define HAVE_DECL_DGETTEXT 1 #define HAVE_DECL_GETTEXT 1 #define HAVE_DECL_BINDTEXTDOMAIN 1 #define HAVE_DECL_TEXTDOMAIN 1 #define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_BINDTEXTDOMAIN 1 #define HAVE_TEXTDOMAIN 1 #define HAVE_BIND_TEXTDOMAIN_CODESET 1 #define HAVE_DGETTEXT 1 #define HAVE_GETTEXT 1 #define HAVE_PTHREAD_H 1 #define HAVE_PTHREAD_CREATE 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_ATTR_INIT 1 #define HAVE_PTHREAD 1 #define HAVE_PTHREAD_MUTEXATTR_SETROBUST 1 #define HAVE_DECL_PTHREAD_MUTEX_ROBUST 1 #define HAVE_PTHREAD_MUTEX_CONSISTENT 1 #define HAVE_ROBUST_MUTEXES 1 #define HAVE___THREAD 1 #define HAVE_CRYPT 1 #define HAVE_LIBCRYPT 1 #define HAVE_CRYPT_R 1 #define HAVE_READLINE_READLINE_H 1 #define HAVE_READLINE_HISTORY_H 1 #define HAVE_DECL_RL_EVENT_HOOK 1 #define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1 #define HAVE_DECL_SNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_ASPRINTF 1 #define HAVE_DECL_VASPRINTF 1 #define HAVE_ERRNO_DECL 1 #define HAVE_DECL_EWOULDBLOCK 1 #define HAVE_ENVIRON_DECL 1 #define HAVE_GETGRENT_R_DECL 1 #define HAVE_GETPWENT_R_DECL 1 #define HAVE_PREAD_DECL 1 #define HAVE_PWRITE_DECL 1 #define HAVE_SETENV_DECL 1 #define HAVE_SETRESGID_DECL 1 #define HAVE_SETRESUID_DECL 1 #define HAVE_EPOLL 1 #define HAVE_SYS_EVENTFD_H 1 #define HAVE_EVENTFD 1 #define HAVE_POLL_H 1 #define HAVE_POLL 1 #define HAVE_STRPTIME 1 #define HAVE_DECL_STRPTIME 1 #define HAVE_WORKING_STRPTIME 1 #define HAVE_DECL_GETTIMEOFDAY 1 #define HAVE_GETTIMEOFDAY_TZ 1 /* #undef HAVE_GETTIMEOFDAY_TZ_VOID */ #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #define HAVE_MREMAP 1 /* #undef HAVE_INCOHERENT_MMAP */ #define HAVE_IMMEDIATE_STRUCTURES 1 #define HAVE_MKDIR_MODE 1 #define HAVE_STAT_TV_NSEC 1 #define HAVE_STRUCT_STAT_ST_RDEV 1 #define HAVE_ST_RDEV 1 #define HAVE_SS_FAMILY 1 /* #undef HAVE___SS_FAMILY */ /* #undef HAVE_SOCKADDR_SA_LEN */ /* #undef HAVE_SOCK_SIN_LEN */ /* #undef HAVE_SOCK_SIN6_LEN */ #define HAVE_UNIXSOCKET 1 #define HAVE_SECURE_MKSTEMP 1 /* #undef HAVE_IFACE_GETIFADDRS */ /* #undef HAVE_IFACE_AIX */ /* #undef HAVE_IFACE_IFCONF */ /* #undef HAVE_IFACE_IFREQ */ #define HAVE_DECL_GETPWENT_R 1 /* #undef SOLARIS_GETPWENT_R */ #define HAVE_DECL_GETGRENT_R 1 /* #undef SOLARIS_GETGRENT_R */ /* #undef STRERROR_R_XSI_NOT_GNU */ #define HAVE_FUSE_FUSE_LOWLEVEL_H 1 #define HAVE_LIBFUSE 1 #define fuse_mount __fake__fuse_mount #ifdef HAVE_LIMITS_H # include #else # include #endif #undef fuse_mount #if defined __stub_fuse_mount || defined __stub___fuse_mount #error "bad glibc stub" #endif extern char fuse_mount(); int main() { return fuse_mount(); } <== [1/2] Compiling bin/.conf_check_e782e0203b5609f7a216c25f6282d21f/test.c ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-I/home/buildroot/autobuild/run/instance-0/output-1/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/include/tirpc', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e782e0203b5609f7a216c25f6282d21f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e782e0203b5609f7a216c25f6282d21f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/bin/.conf_check_e782e0203b5609f7a216c25f6282d21f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lfuse', '-ltirpc'] ok --------------------------------------------------------------------------------- Checking for program 'i386-mingw32-gcc' not found find program=['i386-mingw32-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['i386-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'i386-mingw32msvc-gcc' not found find program=['i386-mingw32msvc-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['i386-mingw32msvc-gcc'] --------------------------------------------------------------------------------- Checking for program 'i386-w64-mingw32-gcc' not found find program=['i386-w64-mingw32-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['i386-w64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'i586-mingw32-gcc' not found find program=['i586-mingw32-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['i586-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'i586-mingw32msvc-gcc' not found find program=['i586-mingw32msvc-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['i586-mingw32msvc-gcc'] --------------------------------------------------------------------------------- Checking for program 'i586-w64-mingw32-gcc' not found find program=['i586-w64-mingw32-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['i586-w64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'i686-mingw32-gcc' not found find program=['i686-mingw32-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['i686-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'i686-mingw32msvc-gcc' not found find program=['i686-mingw32msvc-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['i686-mingw32msvc-gcc'] --------------------------------------------------------------------------------- Checking for program 'i686-w64-mingw32-gcc' not found find program=['i686-w64-mingw32-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['i686-w64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'x86_64-mingw32-gcc' not found find program=['x86_64-mingw32-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN64' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['x86_64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'x86_64-mingw32msvc-gcc' not found find program=['x86_64-mingw32msvc-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN64' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['x86_64-mingw32msvc-gcc'] --------------------------------------------------------------------------------- Checking for program 'x86_64-w64-mingw32-gcc' not found find program=['x86_64-w64-mingw32-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN64' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['x86_64-w64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'amd64-mingw32-gcc' not found find program=['amd64-mingw32-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN64' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['amd64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'amd64-mingw32msvc-gcc' not found find program=['amd64-mingw32msvc-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN64' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['amd64-mingw32msvc-gcc'] --------------------------------------------------------------------------------- Checking for program 'amd64-w64-mingw32-gcc' not found find program=['amd64-w64-mingw32-gcc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN64' -> None from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2/examples/winexe: Could not find the program ['amd64-w64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'perl' /usr/bin/perl find program=['perl'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PERL' -> ['/usr/bin/perl'] --------------------------------------------------------------------------------- Checking for program 'perl' /usr/bin/perl find program=['perl'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PERL' -> ['/usr/bin/perl'] --------------------------------------------------------------------------------- Checking for minimum perl version 5.0.0 find program=['perl'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PERL' -> ['/usr/bin/perl'] ['/usr/bin/perl', '-e', 'printf "%vd", $^V'] out: 5.18.2 5.18.2 --------------------------------------------------------------------------------- Checking for perl $Config{vendorprefix}: '/usr' --------------------------------------------------------------------------------- Checking for perl $Config{vendorarch}: '/usr/lib/perl5' --------------------------------------------------------------------------------- PERL_ARCH_INSTALL_DIR: '/usr/lib/perl5' --------------------------------------------------------------------------------- Checking for perl $Config{vendorlib}: '/usr/share/perl5' --------------------------------------------------------------------------------- PERL_LIB_INSTALL_DIR: '/usr/share/perl5' --------------------------------------------------------------------------------- PERL_INC: ['/home/buildroot/autobuild/run/instance-0/output-1/host/lib/perl', '/etc/perl', '/usr/local/lib/perl/5.18.2', '/usr/local/share/perl/5.18.2', '/usr/lib/perl5', '/usr/share/perl5', '/usr/lib/perl/5.18', '/usr/share/perl/5.18', '/usr/local/lib/site_perl'] --------------------------------------------------------------------------------- Checking for program 'xsltproc' false find program=['xsltproc'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='XSLTPROC' -> ['false'] --------------------------------------------------------------------------------- Checking for program 'python3' /home/buildroot/autobuild/run/instance-0/output-1/host/bin/python2 find program=['python3'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON' -> ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python2'] --------------------------------------------------------------------------------- Checking for program 'python' /home/buildroot/autobuild/run/instance-0/output-1/host/bin/python2 find program=['python'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON' -> ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python2'] ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python2', '-c', 'import imp;print(imp.get_tag())'] err: Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'get_tag' --------------------------------------------------------------------------------- Checking for program 'python3' /home/buildroot/autobuild/run/instance-0/output-1/host/bin/python3 find program=['python3'] paths=['/home/buildroot/autobuild/run/instance-0/output-1/host/bin', '/home/buildroot/autobuild/run/instance-0/output-1/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON3' -> ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python3'] ['/home/buildroot/autobuild/run/instance-0/output-1/host/bin/python2', '-c', 'import sys\nfor x in sys.version_info: print(str(x))'] out: 2 7 17 final 0 --------------------------------------------------------------------------------- Checking for python version >= 3.4.0 2.7.17 from /home/buildroot/autobuild/run/instance-0/output-1/build/samba4-4.11.2: The python version is too old, expecting (3, 4, 0)