# project samba configured on Mon Jul 5 09:21:12 2021 by # waf 2.0.21 (abi 20, python 30906f0 on linux) # using ./buildtools/bin/waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-libiconv=/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr --enable-fhs --cross-compile --cross-answers=/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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 --with-shared-modules=vfs_snapper,idmap_ad --disable-python --with-acl-support --disable-cups --enable-avahi --without-fam --with-libarchive --without-ad-dc --without-json --with-ads --with-ldap # ---------------------------------------- Setting top to /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4 ---------------------------------------- Setting out to /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin ---------------------------------------- Checking for 'gcc' (C compiler) find program=['gcc', 'cc'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='CC' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc'] ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-dM', '-E', '-'] out: #define __riscv 1 #define __SSP_STRONG__ 3 #define __DBL_MIN_EXP__ (-1021) #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_float_abi_soft 1 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #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 __FLT32X_MAX_EXP__ 1024 #define __GNUC_PATCHLEVEL__ 0 #define __FLT32_HAS_DENORM__ 1 #define __UINT_FAST8_MAX__ 0xff #define __FLT32_MAX_10_EXP__ 38 #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 __FLT64X_HAS_QUIET_NAN__ 1 #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 __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 __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 __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __SIZEOF_INT__ 4 #define __FLT32X_MANT_DIG__ 53 #define __USER_LABEL_PREFIX__ #define __FLT64X_EPSILON__ 1.92592994438723585305597794258492732e-34F64x #define __STDC_HOSTED__ 1 #define __DBL_DIG__ 15 #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 __FLT64X_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F64x #define __FP_FAST_FMA 1 #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __unix__ 1 #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 8 #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201706L #define __UINT16_C(c) c #define __DECIMAL_DIG__ 36 #define __STDC_IEC_559_COMPLEX__ 1 #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64 #define __gnu_linux__ 1 #define __FLT64X_MIN_10_EXP__ (-4931) #define __LDBL_HAS_QUIET_NAN__ 1 #define __FLT64_MANT_DIG__ 53 #define __FLT64X_MANT_DIG__ 113 #define __GNUC__ 10 #define __pie__ 2 #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 __INTPTR_WIDTH__ 64 #define __FLT64X_HAS_INFINITY__ 1 #define __UINT_LEAST32_MAX__ 0xffffffffU #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ long int #define __LDBL_HAS_DENORM__ 1 #define __FLT128_HAS_INFINITY__ 1 #define __DBL_MAX_EXP__ 1024 #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #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 1014 #define __FLT_MIN_EXP__ (-125) #define __INT16_MAX__ 0x7fff #define __INT_FAST64_TYPE__ long int #define __FP_FAST_FMAF 1 #define __FLT128_NORM_MAX__ 1.18973149535723176508575932662800702e+4932F128 #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64 #define __DBL_MIN__ ((double)2.22507385850720138309023271733240406e-308L) #define __FLT64X_NORM_MAX__ 1.18973149535723176508575932662800702e+4932F64x #define __SIZEOF_POINTER__ 8 #define __LP64__ 1 #define __DBL_HAS_QUIET_NAN__ 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 __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __DBL_HAS_DENORM__ 1 #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 #define __UINT8_TYPE__ unsigned char #define __FLT_DIG__ 6 #define __NO_INLINE__ 1 #define __DEC_EVAL_METHOD__ 2 #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 36 #define __VERSION__ "10.2.0" #define __UINT64_C(c) c ## UL #define _STDC_PREDEF_H 1 #define __INT_LEAST32_MAX__ 0x7fffffff #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 __FLT128_HAS_DENORM__ 1 #define __FLT128_DIG__ 33 #define __SCHAR_WIDTH__ 8 #define __INT32_C(c) c #define __ORDER_PDP_ENDIAN__ 3412 #define __riscv_muldiv 1 #define __INT_FAST32_TYPE__ long int #define __UINT_LEAST16_TYPE__ short unsigned int #define unix 1 #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 __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __SIZEOF_PTRDIFF_T__ 8 #define __riscv_fsqrt 1 #define __LDBL_DIG__ 33 #define __FLT32X_MIN_EXP__ (-1021) #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 __FLT_HAS_INFINITY__ 1 #define __unix 1 #define __UINT_FAST16_TYPE__ long unsigned int #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 __INT64_MAX__ 0x7fffffffffffffffL #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32 #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__ 201710L #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 __PTRDIFF_WIDTH__ 64 #define __LDBL_MANT_DIG__ 113 #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 __pic__ 2 #define __UINTPTR_MAX__ 0xffffffffffffffffUL #define __INT_FAST64_WIDTH__ 64 #define __FLT32_DECIMAL_DIG__ 9 #define __INT_FAST64_MAX__ 0x7fffffffffffffffL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_NORM_MAX__ 3.40282346638528859811704183484516925e+38F #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 __FP_FAST_FMAF32 1 #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __FLT32_NORM_MAX__ 3.40282346638528859811704183484516925e+38F32 #define __LDBL_MIN_EXP__ (-16381) #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __WINT_WIDTH__ 32 #define __FP_FAST_FMAF64 1 #define __INT_LEAST8_MAX__ 0x7f #define __INT_LEAST64_WIDTH__ 64 #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 __FLT64_NORM_MAX__ 1.79769313486231570814527423731704357e+308F64 #define __FLT128_HAS_QUIET_NAN__ 1 #define __INTMAX_MAX__ 0x7fffffffffffffffL #define __INT_FAST8_TYPE__ signed char #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x #define __LDBL_HAS_INFINITY__ 1 #define __GNUC_STDC_INLINE__ 1 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32 #define __FP_FAST_FMAF32x 1 #define __DBL_DECIMAL_DIG__ 17 #define __STDC_UTF_32__ 1 #define __INT_FAST8_WIDTH__ 8 #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __DBL_NORM_MAX__ ((double)1.79769313486231570814527423731704357e+308L) #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __INTMAX_WIDTH__ 64 #define __riscv_flen 64 #define __UINT32_C(c) c ## U #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 64 #define __PIC__ 2 #define __UINT_FAST32_TYPE__ long unsigned int #define __FLT32X_NORM_MAX__ 1.79769313486231570814527423731704357e+308F32x #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F #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 __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 2 #define __INT_FAST16_WIDTH__ 64 #define __UINTMAX_MAX__ 0xffffffffffffffffUL #define __PIE__ 2 #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 __linux__ 1 #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 __riscv_cmodel_pic 1 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffffffffffUL #define __LDBL_NORM_MAX__ 1.18973149535723176508575932662800702e+4932L #define __GCC_ATOMIC_SHORT_LOCK_FREE 1 #define __UINT_FAST8_TYPE__ unsigned char #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 find program=['ar'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='AR' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-ar'] /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc ---------------------------------------- Checking for program 'git' git find program=['git'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/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-2/output-1/build/samba4-4.14.4" int main() { return 0; } <== [1/1] Compiling bin/.conf_check_9e2c5259b6128eb6a49b299836f21318/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9e2c5259b6128eb6a49b299836f21318/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='GDB' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b7cef157f0ae43ec76d1dccca866a379/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b7cef157f0ae43ec76d1dccca866a379/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-2/output-1/build/samba4-4.14.4" #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_ade8b60a1de91384a89dcdbbc94911e8/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ade8b60a1de91384a89dcdbbc94911e8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_ade8b60a1de91384a89dcdbbc94911e8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ade8b60a1de91384a89dcdbbc94911e8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_ade8b60a1de91384a89dcdbbc94911e8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ade8b60a1de91384a89dcdbbc94911e8/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #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_9a5771841a290bdb2b28b65e4ca7046d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9a5771841a290bdb2b28b65e4ca7046d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_9a5771841a290bdb2b28b65e4ca7046d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9a5771841a290bdb2b28b65e4ca7046d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_9a5771841a290bdb2b28b65e4ca7046d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9a5771841a290bdb2b28b65e4ca7046d/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #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_b40313a6477e68e63450f7e25b325353/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b40313a6477e68e63450f7e25b325353/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_b40313a6477e68e63450f7e25b325353/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b40313a6477e68e63450f7e25b325353/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_b40313a6477e68e63450f7e25b325353/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b40313a6477e68e63450f7e25b325353/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #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_33d82df14da41c3f7b6c8d6298421b1c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_33d82df14da41c3f7b6c8d6298421b1c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_33d82df14da41c3f7b6c8d6298421b1c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_33d82df14da41c3f7b6c8d6298421b1c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_33d82df14da41c3f7b6c8d6298421b1c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_33d82df14da41c3f7b6c8d6298421b1c/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define 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_214a4a726a03b8e2c813a6fc7705eca2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_214a4a726a03b8e2c813a6fc7705eca2/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define 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_8e3097461a2c8ef81fbde70531f2d37c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8e3097461a2c8ef81fbde70531f2d37c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_8e3097461a2c8ef81fbde70531f2d37c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8e3097461a2c8ef81fbde70531f2d37c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_8e3097461a2c8ef81fbde70531f2d37c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8e3097461a2c8ef81fbde70531f2d37c/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #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_73acaa78ff1387d51e48304ba91c27c6/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_73acaa78ff1387d51e48304ba91c27c6/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #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_04035fc694afcea2d4f5b18382d4becc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_04035fc694afcea2d4f5b18382d4becc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_04035fc694afcea2d4f5b18382d4becc/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_04035fc694afcea2d4f5b18382d4becc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-rpath,.'] yes ---------------------------------------- Checking for rpath library support [1/5] Compiling bin/.conf_check_a5e31473e3b24eecdbc06f94c3e94572/libdir/liblc1.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-fPIC', '../../libdir/liblc1.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a5e31473e3b24eecdbc06f94c3e94572/testbuild/default/libdir/liblc1.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/5] Compiling bin/.conf_check_a5e31473e3b24eecdbc06f94c3e94572/main.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '../../main.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a5e31473e3b24eecdbc06f94c3e94572/testbuild/default/main.c.2.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [3/5] Linking bin/.conf_check_a5e31473e3b24eecdbc06f94c3e94572/testbuild/default/liblib1.so ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-shared', 'libdir/liblc1.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a5e31473e3b24eecdbc06f94c3e94572/testbuild/default/liblib1.so', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: ../../main.c: In function 'main': ../../main.c:1:26: warning: implicit declaration of function 'lib_func' [-Wimplicit-function-declaration] 1 | int main(void) {return !(lib_func() == 42);} | ^~~~~~~~ [4/5] Linking bin/.conf_check_a5e31473e3b24eecdbc06f94c3e94572/testbuild/default/prog1 ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'main.c.2.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a5e31473e3b24eecdbc06f94c3e94572/testbuild/default/prog1', '-Wl,-rpath,/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a5e31473e3b24eecdbc06f94c3e94572/libdir', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a5e31473e3b24eecdbc06f94c3e94572/testbuild/default', '-llib1'] [5/5] Processing bin/.conf_check_a5e31473e3b24eecdbc06f94c3e94572/testbuild/default/prog1 ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a5e31473e3b24eecdbc06f94c3e94572/testbuild/default/prog1', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/cache.txt', 'rpath library support'] yes ----------------------------------------- Checking for -Wl,--version-script support [1/5] Compiling bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/libdir/liblc1.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-fPIC', '../../libdir/liblc1.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/testbuild/default/libdir/liblc1.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/5] Compiling bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/main.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '../../main.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/testbuild/default/main.c.2.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [3/5] Linking bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/testbuild/default/liblib1.so ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-Wl,--version-script=/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/ldscript', '-shared', 'libdir/liblc1.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/testbuild/default/liblib1.so', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: ../../main.c: In function 'main': ../../main.c:1:26: warning: implicit declaration of function 'lib_func' [-Wimplicit-function-declaration] 1 | int main(void) {return !(lib_func() == 42);} | ^~~~~~~~ [4/5] Linking bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/testbuild/default/prog1 ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'main.c.2.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/testbuild/default/prog1', '-Wl,-rpath,/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/libdir', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/testbuild/default', '-llib1'] [5/5] Processing bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/testbuild/default/prog1 ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1e2d08a5deb6dd447816a16e60b19c19/testbuild/default/prog1', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #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_a2125c019f9cc0f1b370453d59f9e048/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-fvisibility=hidden', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a2125c019f9cc0f1b370453d59f9e048/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #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_7e426aa9f0baf62d58be797a358390d1/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-fvisibility=hidden', '-Werror', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7e426aa9f0baf62d58be797a358390d1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7e426aa9f0baf62d58be797a358390d1/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7e426aa9f0baf62d58be797a358390d1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 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_fcca56376fcfb2560b7262f2edd99a62/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-Werror', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fcca56376fcfb2560b7262f2edd99a62/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fcca56376fcfb2560b7262f2edd99a62/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fcca56376fcfb2560b7262f2edd99a62/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34: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_e1a268f8de46accfd68088fd74b2c463/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-Werror', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e1a268f8de46accfd68088fd74b2c463/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e1a268f8de46accfd68088fd74b2c463/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e1a268f8de46accfd68088fd74b2c463/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_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_fda06a4d6e08c84df5f637a3d348cff5/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-Werror', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fda06a4d6e08c84df5f637a3d348cff5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fda06a4d6e08c84df5f637a3d348cff5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fda06a4d6e08c84df5f637a3d348cff5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define 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_2561f10fde4ddad9e087d5b14ae9af7c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-fPIC', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2561f10fde4ddad9e087d5b14ae9af7c/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define 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_149a718f557ac5cd1ee8933cda5123e4/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_149a718f557ac5cd1ee8933cda5123e4/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-2/output-1/per-package/samba4/host/bin/pkg-config find program=['pkg-config'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PKGCONFIG' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/pkg-config'] ------------------------------------------------- Checking for pkg-config version >= '0.0.0' ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_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_fb6da90a890b9e6bec98e9ce1673994f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-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-2/output-1/build/samba4-4.14.4/bin/.conf_check_fb6da90a890b9e6bec98e9ce1673994f/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_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_08f85e81baa0fff4712789c0cb691623/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_08f85e81baa0fff4712789c0cb691623/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_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_b41dcd58fc21ec5565dff9881d954791/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b41dcd58fc21ec5565dff9881d954791/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 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_1e4011627e5d8c90759aa31870a858df/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1e4011627e5d8c90759aa31870a858df/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define 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_f9dfdacdded6b0c0200f672e71e6957d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f9dfdacdded6b0c0200f672e71e6957d/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_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_20259f27b995158a229ee6af4e5b92ac/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_20259f27b995158a229ee6af4e5b92ac/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_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_f0982148da18701855edb3b32ff837a7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f0982148da18701855edb3b32ff837a7/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_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_addfc88ac1d1b4051d27dae303755acc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_addfc88ac1d1b4051d27dae303755acc/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_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_ab6f90d60805743971fba745beff3b42/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ab6f90d60805743971fba745beff3b42/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define 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_ba76dd9762a25498f7835e84a7d05f21/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ba76dd9762a25498f7835e84a7d05f21/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define 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_0007539cfe618948b0c90bec451f9415/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0007539cfe618948b0c90bec451f9415/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define 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_3ce0b90642e69b1dd5d322e079126079/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3ce0b90642e69b1dd5d322e079126079/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define 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_4c03e95bfc7f17b5488f2ee6d49e6dc2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4c03e95bfc7f17b5488f2ee6d49e6dc2/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 41 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define 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_81ddb3c4777759bc5ed6702ce92da9f1/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_81ddb3c4777759bc5ed6702ce92da9f1/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define 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_4bdb0a0f8bb996218c73d8845995a280/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4bdb0a0f8bb996218c73d8845995a280/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 43 | #include | ^~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define 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_5224975afab3fd160c5fe0c515e44cc3/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5224975afab3fd160c5fe0c515e44cc3/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define 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_ae265c64037dd13739ccb06552de9925/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ae265c64037dd13739ccb06552de9925/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define 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_b50d8a5926f91cea38de41ad6c6e5379/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b50d8a5926f91cea38de41ad6c6e5379/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 47 | #include | ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define 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_dc813633106c39b7ef59e64475da23a6/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_dc813633106c39b7ef59e64475da23a6/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define 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_a6381f8e5b0d4c96d6a00c654675919a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a6381f8e5b0d4c96d6a00c654675919a/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define 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_9b1b9daa58ccf6428d1eb59c9e4084cb/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9b1b9daa58ccf6428d1eb59c9e4084cb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_9b1b9daa58ccf6428d1eb59c9e4084cb/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9b1b9daa58ccf6428d1eb59c9e4084cb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_9b1b9daa58ccf6428d1eb59c9e4084cb/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9b1b9daa58ccf6428d1eb59c9e4084cb/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 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_a0844ca64760f0e7910bc7918e80aacf/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a0844ca64760f0e7910bc7918e80aacf/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #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_6f7fd56d8b498c5346b5009479fdd134/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6f7fd56d8b498c5346b5009479fdd134/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #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_0a785023e89cd06ef890dfa860988017/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0a785023e89cd06ef890dfa860988017/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define 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_752de05623f0f118e6100e59541bb74b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_752de05623f0f118e6100e59541bb74b/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 56 | #include | ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define 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_45394ab38d0b1217e88fc22d88be1b5a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_45394ab38d0b1217e88fc22d88be1b5a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_45394ab38d0b1217e88fc22d88be1b5a/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_45394ab38d0b1217e88fc22d88be1b5a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #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_c775eca2fde1bc13e026f1ac6d3295b7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c775eca2fde1bc13e026f1ac6d3295b7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:71:26: error: #error Not big endian. 71 | #error Not big endian. | ^~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 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_18b5d8cd11fcdcad58b0f8e8e60c92de/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_18b5d8cd11fcdcad58b0f8e8e60c92de/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_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_5a247b12bf68d0f8d5f9a0709365338d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5a247b12bf68d0f8d5f9a0709365338d/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:60:28: error: void value not ignored as it ought to be 60 | int main(void) { return *(signal (0, 0)) (0) == 1; return 0; } | ~^~~~~~~~~~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define 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_bdc339718995fe14d66ed647140c7130/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bdc339718995fe14d66ed647140c7130/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:63:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 63 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define 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_a17919ae8452a642e05c78f4356c8be7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a17919ae8452a642e05c78f4356c8be7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a17919ae8452a642e05c78f4356c8be7/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a17919ae8452a642e05c78f4356c8be7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef 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_c9a776f7e5ee61d5037a07df91027eb0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c9a776f7e5ee61d5037a07df91027eb0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c9a776f7e5ee61d5037a07df91027eb0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c9a776f7e5ee61d5037a07df91027eb0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 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_54b0fab2cf3ddfebd35eccad8504abe3/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_54b0fab2cf3ddfebd35eccad8504abe3/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 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_ad8c95da6fd91593e144d9b3ce40c0c7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ad8c95da6fd91593e144d9b3ce40c0c7/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 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_90a510093e5dc11d2f1d4785c0a719f0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_90a510093e5dc11d2f1d4785c0a719f0/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define 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_ef7c60975c93a0460f5d487e3637a716/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ef7c60975c93a0460f5d487e3637a716/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_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_ac6122271d6da0779c5f96eb6df33898/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ac6122271d6da0779c5f96eb6df33898/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:71:10: fatal error: compat.h: No such file or directory 71 | #include | ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_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_c2551b237af60e43e3aa8b94640c6ea5/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c2551b237af60e43e3aa8b94640c6ea5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:71:10: fatal error: attr/xattr.h: No such file or directory 71 | #include | ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_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_7b2c6db8d784bb5c5eb46377052589e7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7b2c6db8d784bb5c5eb46377052589e7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:71:10: fatal error: dustat.h: No such file or directory 71 | #include | ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_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_1c5d5fe77a98e00f40794fa44c6c3ce1/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1c5d5fe77a98e00f40794fa44c6c3ce1/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_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_f7c25133fea95ba24f3898c94445fa3d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f7c25133fea95ba24f3898c94445fa3d/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_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_d9b8d3ad61703c1435d24db0d03098c2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d9b8d3ad61703c1435d24db0d03098c2/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_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_aa8e808340e7ad092429860e6a84574e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_aa8e808340e7ad092429860e6a84574e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:74:10: fatal error: history.h: No such file or directory 74 | #include | ^~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_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_eaf875943f38415acab9e55da12b485c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_eaf875943f38415acab9e55da12b485c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:74:10: fatal error: krb5.h: No such file or directory 74 | #include | ^~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/replace: The configuration failed -------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_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_b8d429a8470fcf368a10c046ac95353d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b8d429a8470fcf368a10c046ac95353d/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_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_e7b20ddc3270065e696cca1068449828/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e7b20ddc3270065e696cca1068449828/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 75 | #include | ^~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_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_9fa1c27860f121075e4b76dbde428922/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9fa1c27860f121075e4b76dbde428922/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_15110663ae781419222cfe341e67b163/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_15110663ae781419222cfe341e67b163/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_49bd4b0f6a3feb51e6dc0423154bc1ed/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_49bd4b0f6a3feb51e6dc0423154bc1ed/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_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_493c41843be8d2fee7f80e365c29001e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_493c41843be8d2fee7f80e365c29001e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:78:10: fatal error: sys/attributes.h: No such file or directory 78 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_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_58ae00c7a36095dadc93e40e8ce068f5/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_58ae00c7a36095dadc93e40e8ce068f5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes -------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_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_1e2a42a7dc6d8bbf59b3bc384cd24961/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1e2a42a7dc6d8bbf59b3bc384cd24961/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:79:10: fatal error: sys/capability.h: No such file or directory 79 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/replace: The configuration failed -------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_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_f9f21064e485177e849e5b28aa8b1e92/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f9f21064e485177e849e5b28aa8b1e92/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_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_15f27000f4aaeb8b13e2124936594a12/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_15f27000f4aaeb8b13e2124936594a12/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_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_8a71e6a4f2cf4157bdf0d428fbb6eb7d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8a71e6a4f2cf4157bdf0d428fbb6eb7d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:81:10: fatal error: port.h: No such file or directory 81 | #include | ^~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_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_b4e535c4fda6b3d3ad7e3021fd0fb5a0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b4e535c4fda6b3d3ad7e3021fd0fb5a0/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_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_f88c7ba7d675add83d196ab1a2076372/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f88c7ba7d675add83d196ab1a2076372/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:82:10: fatal error: sys/filio.h: No such file or directory 82 | #include | ^~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_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_3671a85dc9fded853bf62a18da1b63aa/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3671a85dc9fded853bf62a18da1b63aa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:82:10: fatal error: sys/filsys.h: No such file or directory 82 | #include | ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_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_941cc430d0fb415c2e200dc13dda29d1/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_941cc430d0fb415c2e200dc13dda29d1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:82:10: fatal error: sys/fs/s5param.h: No such file or directory 82 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_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_5001cba665892156cd511d508e9fe99e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5001cba665892156cd511d508e9fe99e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:82:10: fatal error: sys/id.h: No such file or directory 82 | #include | ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_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_2675e97ef67fabff3f92329b1704be4a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2675e97ef67fabff3f92329b1704be4a/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #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_59d13aab44d9e25fde82ffa57fd3d17b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_59d13aab44d9e25fde82ffa57fd3d17b/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #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_9b57e02f5f5192cbacb857e5b046c962/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9b57e02f5f5192cbacb857e5b046c962/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #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_178329a0308f7090acc969103fc068ba/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_178329a0308f7090acc969103fc068ba/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/mode.h: No such file or directory 85 | #include | ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #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_cb993d88609b0ae8be60f607feebdd8d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_cb993d88609b0ae8be60f607feebdd8d/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/ndir.h: No such file or directory 85 | #include | ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #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_617721d343be0d2de9593069f0d46da1/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_617721d343be0d2de9593069f0d46da1/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/priv.h: No such file or directory 85 | #include | ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #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_3a3745d39d658068239af5d1601f8e94/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3a3745d39d658068239af5d1601f8e94/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #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_b1b6c78d835d126b82a13b997f16655c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b1b6c78d835d126b82a13b997f16655c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:86:10: fatal error: sys/security.h: No such file or directory 86 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #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_815a9e1047f78565e08fb716474310be/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_815a9e1047f78565e08fb716474310be/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #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_d24b6ecb0039d9836f237a1e897d1f49/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d24b6ecb0039d9836f237a1e897d1f49/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #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_5b98f327c420109b3d3af1c064706280/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5b98f327c420109b3d3af1c064706280/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #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_d85ac31c71d8fda3f26cb1331c9d408c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d85ac31c71d8fda3f26cb1331c9d408c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:89:10: fatal error: sys/termio.h: No such file or directory 89 | #include | ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #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_6dd166c6e96382b22437033b286f9e91/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6dd166c6e96382b22437033b286f9e91/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #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_90896567446d74910a59fea44a5646d8/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_90896567446d74910a59fea44a5646d8/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #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_9f36c249beb40cbca6e40294f27d2089/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9f36c249beb40cbca6e40294f27d2089/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 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_eee644f734dd9cae43699155fa836ac1/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_eee644f734dd9cae43699155fa836ac1/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_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_1954ea8034aebd6fee43c6f43d8376ec/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1954ea8034aebd6fee43c6f43d8376ec/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_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_912a358e4c1d39b244241794d28e7bd9/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_912a358e4c1d39b244241794d28e7bd9/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_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_3c551990ef1f3b9405ba60f44b6b494b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3c551990ef1f3b9405ba60f44b6b494b/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 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_399aa9d02f76cc21b92dd0b87b8bf779/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_399aa9d02f76cc21b92dd0b87b8bf779/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] 99 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 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_45a13b62194ae9039189cde83b1d3edb/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_45a13b62194ae9039189cde83b1d3edb/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_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_31fa47ba2c1b8f6ed9dae66813e79495/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_31fa47ba2c1b8f6ed9dae66813e79495/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_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_77ca346f234c43c778fb300662bea276/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_77ca346f234c43c778fb300662bea276/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_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_ae8b9e9cd8ee578754e4f4b2565d1608/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ae8b9e9cd8ee578754e4f4b2565d1608/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_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_5af3915b4b72973c593d8c043e082a8e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5af3915b4b72973c593d8c043e082a8e/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_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_e586541b7b0b710900a6b2688e7c88ae/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e586541b7b0b710900a6b2688e7c88ae/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_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_ea9400c11f0ad595ab1939b15f396f4c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ea9400c11f0ad595ab1939b15f396f4c/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_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_7aeed2d92fb0eacf4ab718acfcfaaafb/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7aeed2d92fb0eacf4ab718acfcfaaafb/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_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_9cb498b46c98e588f71b738f9efa34bb/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9cb498b46c98e588f71b738f9efa34bb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:105:10: fatal error: stropts.h: No such file or directory 105 | #include | ^~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/replace: The configuration failed -------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_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_87dc1946b4d785942ec47fdd1feff6a6/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_87dc1946b4d785942ec47fdd1feff6a6/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 105 | #include | ^~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_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_69907e1e79b72fe3c7cb7008b4e3e2cc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_69907e1e79b72fe3c7cb7008b4e3e2cc/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_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_bff7a3d720a737633f260b63b30714c6/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bff7a3d720a737633f260b63b30714c6/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_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_eb9d60ac71b76bf88462f952bf6e45ab/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_eb9d60ac71b76bf88462f952bf6e45ab/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_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_e34491f44189c43a0ec989c0d156127b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e34491f44189c43a0ec989c0d156127b/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 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_400217ed1ce6473fbeff2a7830138b4d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_400217ed1ce6473fbeff2a7830138b4d/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 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_75f792e3606546353626a7bb33107b16/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_75f792e3606546353626a7bb33107b16/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #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_d11bfbad1b69476cdb049e160b5756a5/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d11bfbad1b69476cdb049e160b5756a5/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #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_2b1256035eb18aca6975420c77dcd5f1/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2b1256035eb18aca6975420c77dcd5f1/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define 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_77cf4014b2a6b58a631e38fce06874a6/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_77cf4014b2a6b58a631e38fce06874a6/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 120 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define 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_613a34dc7a1312998f1f654f8506e281/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_613a34dc7a1312998f1f654f8506e281/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 120 | #include | ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define 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_da2ed4903f39a0d38d6d0d7e7209c10d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_da2ed4903f39a0d38d6d0d7e7209c10d/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define 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_16f51a5f9fe0030468f8d9da92eadd79/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_16f51a5f9fe0030468f8d9da92eadd79/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #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_23283a14481dd09e334c9ebdec84ff61/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_23283a14481dd09e334c9ebdec84ff61/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 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_2ac35597a5912b6c3b8e25c294f862d7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2ac35597a5912b6c3b8e25c294f862d7/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 116 | #include | ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 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_d2744293001d921c5b34119adb5cc178/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d2744293001d921c5b34119adb5cc178/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_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_57a9eda9e16aabe86ddc5492f148d8a7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_57a9eda9e16aabe86ddc5492f148d8a7/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 117 | #include | ^~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_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_3625a08c30cba95ed4edfd2af02f8b79/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3625a08c30cba95ed4edfd2af02f8b79/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 117 | #include | ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_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_334ff8242af78d017a7583dde8e0c6e3/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_334ff8242af78d017a7583dde8e0c6e3/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 117 | #include | ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_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_f87123fcb89b8391d3ccb58d79e7b5a2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f87123fcb89b8391d3ccb58d79e7b5a2/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_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_ca7502d43bc426c366fc4c5b7981dade/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ca7502d43bc426c366fc4c5b7981dade/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_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_33433deb9ee6a9b86320db5eb198e66c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_33433deb9ee6a9b86320db5eb198e66c/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define 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_8561bc1c241a5cd63f2d63acccc35fcd/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8561bc1c241a5cd63f2d63acccc35fcd/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define 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_baeffc570b4640256795d01bf576455e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_baeffc570b4640256795d01bf576455e/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 121 | #include | ^~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define 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_96bc28661cb74022945714184161c7f4/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_96bc28661cb74022945714184161c7f4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_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_b69480b542bd7323f1b9e01484f7822b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b69480b542bd7323f1b9e01484f7822b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b69480b542bd7323f1b9e01484f7822b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b69480b542bd7323f1b9e01484f7822b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_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_436e25f0836e614358d8058b9633c4f0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_436e25f0836e614358d8058b9633c4f0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:123:10: fatal error: security/pam_appl.h: No such file or directory 123 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/replace: The configuration failed -------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_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_74559c9fe057a2ac0b7fba8bb7b72952/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_74559c9fe057a2ac0b7fba8bb7b72952/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 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_aee328b56e265fa98853ae8150a57bcc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_aee328b56e265fa98853ae8150a57bcc/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 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_ba10a4bb1778051b67ada185cb6cf7e8/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ba10a4bb1778051b67ada185cb6cf7e8/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_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_ed1f36b64bf7eb016778eeca7d2a53b9/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ed1f36b64bf7eb016778eeca7d2a53b9/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_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_822521195961006cd4f83b35c75ce169/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_822521195961006cd4f83b35c75ce169/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_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_7a87a3f0e4abe26e01729abb12ecb360/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7a87a3f0e4abe26e01729abb12ecb360/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_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_f8a8edad2d5e9fe92a323958ce411d4a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f8a8edad2d5e9fe92a323958ce411d4a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:129:10: fatal error: rpc/nettype.h: No such file or directory 129 | #include | ^~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/replace: The configuration failed -------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_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) { #ifndef _TIRPC_RPC_H #error "no tirpc headers in system path" #endif ; return 0; } <== [1/2] Compiling bin/.conf_check_da50ad9186752b35d3a8edceedbb4c42/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_da50ad9186752b35d3a8edceedbb4c42/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:132:2: error: #error "no tirpc headers in system path" 132 | #error "no tirpc headers in system path" | ^~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for library nsl ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_340db4935214f7a0537c0f8c44f40316/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_340db4935214f7a0537c0f8c44f40316/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_340db4935214f7a0537c0f8c44f40316/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_340db4935214f7a0537c0f8c44f40316/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lnsl'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lnsl collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/replace: The configuration failed -------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #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_ef809d5c47e75e4d5ec4fd03d68d3da7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ef809d5c47e75e4d5ec4fd03d68d3da7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:130:10: fatal error: rpcsvc/yp_prot.h: No such file or directory 130 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/replace: The configuration failed -------------------------------------------------------- Checking for libnsl ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #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_50e51928ec4b7d9a94ed06c7da35d6ae/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_50e51928ec4b7d9a94ed06c7da35d6ae/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:130:10: fatal error: rpcsvc/nis.h: No such file or directory 130 | #include | ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #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_0de13db5bd6459e2d9a63df640bfba75/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0de13db5bd6459e2d9a63df640bfba75/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:130:10: fatal error: rpcsvc/ypclnt.h: No such file or directory 130 | #include | ^~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_cdabea09ab7aa49241dc83b8ffa4373a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror=cpp', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_cdabea09ab7aa49241dc83b8ffa4373a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from ../../test.c:131: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/sysctl.h:21:2: error: #warning "The header is deprecated and will be removed." [-Werror=cpp] 21 | #warning "The header is deprecated and will be removed." | ^~~~~~~ cc1: some warnings being treated as errors from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/replace: The configuration failed not found -------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_78ea31684894df926b8c7d061ed53221/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_78ea31684894df926b8c7d061ed53221/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:131:10: fatal error: sys/fileio.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_966bc7d0c2c830542f2e824e5f470024/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_966bc7d0c2c830542f2e824e5f470024/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:131:10: fatal error: sys/filesys.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_e90f96e89ba9f6140b6e201d50f73830/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e90f96e89ba9f6140b6e201d50f73830/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:131:10: fatal error: sys/dustat.h: No such file or directory 131 | #include | ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_523faa43dbcd2a8f851975b5fc30c0aa/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_523faa43dbcd2a8f851975b5fc30c0aa/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_6033ca25bb7b3a2f43e0aa0d70debba9/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6033ca25bb7b3a2f43e0aa0d70debba9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: xfs/libxfs.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_aecd3368cf9d2f089c842572310c3cd6/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_aecd3368cf9d2f089c842572310c3cd6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: netgroup.h: No such file or directory 132 | #include | ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_5da2fe019d4346568f3f4d3d6c9e4dad/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5da2fe019d4346568f3f4d3d6c9e4dad/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: valgrind.h: No such file or directory 132 | #include | ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_e17aa245ace20ac2b78a6b63166c734a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e17aa245ace20ac2b78a6b63166c734a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: valgrind/valgrind.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_9af442bf294a587ec45ca46ba45167eb/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9af442bf294a587ec45ca46ba45167eb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: valgrind/memcheck.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_8eace9f8c3a6b0bc4c571f08efa059ae/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8eace9f8c3a6b0bc4c571f08efa059ae/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: valgrind/helgrind.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_dd35178b5d36ebe40e3faf92b296e457/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_dd35178b5d36ebe40e3faf92b296e457/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: nss_common.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_b3a956ef0e9de557f66855bfc6d0975f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b3a956ef0e9de557f66855bfc6d0975f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: nsswitch.h: No such file or directory 132 | #include | ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_a20a81583a544effc21fa1f84517d12f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a20a81583a544effc21fa1f84517d12f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: ns_api.h: No such file or directory 132 | #include | ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_776298b11b7ca365ad9d37480664864d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_776298b11b7ca365ad9d37480664864d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: sys/extattr.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_3e3cb9c5f41ba30f7088ac4d7463aca7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3e3cb9c5f41ba30f7088ac4d7463aca7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: sys/ea.h: No such file or directory 132 | #include | ^~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_01c913ee10b4065001d3676dcaf3767d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_01c913ee10b4065001d3676dcaf3767d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:132:10: fatal error: sys/proplist.h: No such file or directory 132 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_9807456b5878ef596db5184f53cf1c37/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9807456b5878ef596db5184f53cf1c37/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_4806f71f7dcdc962df2ad7b48e2044ef/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4806f71f7dcdc962df2ad7b48e2044ef/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_ad440534d4a6181f4485756179150b1e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ad440534d4a6181f4485756179150b1e/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #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_142827e79a6ac9d4dfd570c072c9bb6a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_142827e79a6ac9d4dfd570c072c9bb6a/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_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_c941867daac5930500df129658df1d9f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c941867daac5930500df129658df1d9f/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_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_af6a7590af2d902374f2e954c4efb029/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_af6a7590af2d902374f2e954c4efb029/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_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_8b41dee808a8d90ea13be65d499095e6/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8b41dee808a8d90ea13be65d499095e6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:138:10: fatal error: sys/atomic.h: No such file or directory 138 | #include | ^~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_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_7eca4e85a367495f39b615d39126ae73/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7eca4e85a367495f39b615d39126ae73/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_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_ddc6644c6b4bd3f8784fc7e0736f04fc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ddc6644c6b4bd3f8784fc7e0736f04fc/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_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_391c5f4311093caca2b51feb18e75756/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-format-truncation', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_391c5f4311093caca2b51feb18e75756/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_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_086012b2e02704cd142f4258ecf6582c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-unused-function', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_086012b2e02704cd142f4258ecf6582c/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_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_7083eaab0abf655742fdc86920426e0e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-strict-overflow', '-Werror', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7083eaab0abf655742fdc86920426e0e/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 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_24775b465fc2412f2a54033fd9455b84/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_24775b465fc2412f2a54033fd9455b84/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #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 #include int main(void) { prctl(0); return 0; } <== [1/2] Compiling bin/.conf_check_d47422c543211b26fb19d3a0429dfd35/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d47422c543211b26fb19d3a0429dfd35/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d47422c543211b26fb19d3a0429dfd35/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d47422c543211b26fb19d3a0429dfd35/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_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_e300554ec3b8d613786524c8d5a92b79/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e300554ec3b8d613786524c8d5a92b79/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e300554ec3b8d613786524c8d5a92b79/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e300554ec3b8d613786524c8d5a92b79/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_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_3aea6aca88297971fb11f635fb859f45/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3aea6aca88297971fb11f635fb859f45/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_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_12eb85e7922469b3c26152d4c3d76c42/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_12eb85e7922469b3c26152d4c3d76c42/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_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_b57dc298097d24d876d9bf2334e5b041/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b57dc298097d24d876d9bf2334e5b041/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define 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_d3066bfaae766d54be2d501ef63af8e0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d3066bfaae766d54be2d501ef63af8e0/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_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_462c24afa9f98d2f032569adbb4bea37/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_462c24afa9f98d2f032569adbb4bea37/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_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_9cac85f0c6ec41f25eeb80809a6e344f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9cac85f0c6ec41f25eeb80809a6e344f/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define 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_ca6e42053bda149abfd22fac6ef0c84f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ca6e42053bda149abfd22fac6ef0c84f/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #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_ef3019552d81427decfb343480851aee/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ef3019552d81427decfb343480851aee/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #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_30ddc80d9ff518c90f093fdb999cfd05/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_30ddc80d9ff518c90f093fdb999cfd05/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #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_645f0b88c6851451986139c6a0f00206/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_645f0b88c6851451986139c6a0f00206/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 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_b581ff008ff7a88d983317ccbb1b3ebe/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b581ff008ff7a88d983317ccbb1b3ebe/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #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_b01e6c157af92a00df35948a9209c221/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b01e6c157af92a00df35948a9209c221/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define 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_e21c1cb426d5449e3876d918e337b83c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e21c1cb426d5449e3876d918e337b83c/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define 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_9bdf537844b4ed17aacebde34efbd013/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9bdf537844b4ed17aacebde34efbd013/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define 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_8e89ef4950bc7ba95d252cc48d0eef2b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8e89ef4950bc7ba95d252cc48d0eef2b/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define 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_295a3262c3bcc893c0854fa6ec3d4353/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_295a3262c3bcc893c0854fa6ec3d4353/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define 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_3b4400a5eeb02b0c3f6c8581dd52a2f6/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3b4400a5eeb02b0c3f6c8581dd52a2f6/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define 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_9c638d113b4cb6f67d4fceb9253c6866/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9c638d113b4cb6f67d4fceb9253c6866/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define 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_06a14f31e6557625f3efad6bc0312dcf/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_06a14f31e6557625f3efad6bc0312dcf/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define 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_e3240ff1b574e0ac317800ad5b2629dc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e3240ff1b574e0ac317800ad5b2629dc/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:165:19: error: unknown type name 'offset_t'; did you mean 'offsetof'? 165 | int main(void) { offset_t _x; return 0; } | ^~~~~~~~ | offsetof from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #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_cb924497ec2d459071440435575245fd/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_cb924497ec2d459071440435575245fd/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 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_a962cd1ea734bbb4e7db148e4b199308/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a962cd1ea734bbb4e7db148e4b199308/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:168:19: error: unknown type name 'uint_t'; did you mean 'uint8_t'? 168 | int main(void) { uint_t _x; return 0; } | ^~~~~~ | uint8_t from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_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_7566db9d6b7f30f38a91f895fe35c635/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7566db9d6b7f30f38a91f895fe35c635/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_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_e8f5be3e966b48c2744b98fd5d44599a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e8f5be3e966b48c2744b98fd5d44599a/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_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_e033810e1911fbc6bbc8658e6d190898/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e033810e1911fbc6bbc8658e6d190898/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e033810e1911fbc6bbc8658e6d190898/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e033810e1911fbc6bbc8658e6d190898/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 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_35da9d846c9dc998bbef5301609b4b0f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_35da9d846c9dc998bbef5301609b4b0f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_35da9d846c9dc998bbef5301609b4b0f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_35da9d846c9dc998bbef5301609b4b0f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_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_233005c772ec59afd3e7bc4a12a7748e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_233005c772ec59afd3e7bc4a12a7748e/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:174:30: error: size of array 'test_array' is negative 174 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_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_2d7f37907bf0317f2ba06d874e3c9e44/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2d7f37907bf0317f2ba06d874e3c9e44/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:175:30: error: size of array 'test_array' is negative 175 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_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_b78ce8ed682de5d48034c8661881a70d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b78ce8ed682de5d48034c8661881a70d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b78ce8ed682de5d48034c8661881a70d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b78ce8ed682de5d48034c8661881a70d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t 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_b589c0da5c0cc1ea3e8a0ef085d4fe76/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b589c0da5c0cc1ea3e8a0ef085d4fe76/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:175:30: error: size of array 'test_array' is negative 175 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t 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_bcb0ca22d60dd76a4b3d0014f6615a29/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bcb0ca22d60dd76a4b3d0014f6615a29/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:176:30: error: size of array 'test_array' is negative 176 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t 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_f3c3f3daa3b227eb81d2630a2238fa3e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f3c3f3daa3b227eb81d2630a2238fa3e/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:176:30: error: size of array 'test_array' is negative 176 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 4)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t 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_155ff908caba3d2ee24660bc54593dd0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_155ff908caba3d2ee24660bc54593dd0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_155ff908caba3d2ee24660bc54593dd0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_155ff908caba3d2ee24660bc54593dd0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_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_19d7a0f6b98b3ee26c530bb7289f09fc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_19d7a0f6b98b3ee26c530bb7289f09fc/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:176:30: error: size of array 'test_array' is negative 176 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_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_2c8c05d2bc35acd254ea37c877eec878/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2c8c05d2bc35acd254ea37c877eec878/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:177:30: error: size of array 'test_array' is negative 177 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_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_a7f0f8b3b640a28dfd99f41b26be3345/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a7f0f8b3b640a28dfd99f41b26be3345/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:177:30: error: size of array 'test_array' is negative 177 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 4)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_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_b3ee962a144416fccf89a6a0f7bb79b2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b3ee962a144416fccf89a6a0f7bb79b2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b3ee962a144416fccf89a6a0f7bb79b2/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b3ee962a144416fccf89a6a0f7bb79b2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_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_52be77d2f065df6de8a5f26561861415/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_52be77d2f065df6de8a5f26561861415/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:177:30: error: size of array 'test_array' is negative 177 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_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_ca157a807e2968014a1987abda08af2f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ca157a807e2968014a1987abda08af2f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ca157a807e2968014a1987abda08af2f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ca157a807e2968014a1987abda08af2f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define 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_846ac34802a9c0d37e29062678955521/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_846ac34802a9c0d37e29062678955521/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:178:30: error: size of array 'test_array' is negative 178 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define 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_bb1b87e625ee0a42a407bf5cc2306466/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bb1b87e625ee0a42a407bf5cc2306466/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 179 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define 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_3321ba4054fb5336624da8b1a3f9f220/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3321ba4054fb5336624da8b1a3f9f220/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 179 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 4)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define 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_028ab81d087c4ddfe3c0c715452e94ca/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_028ab81d087c4ddfe3c0c715452e94ca/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_028ab81d087c4ddfe3c0c715452e94ca/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_028ab81d087c4ddfe3c0c715452e94ca/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_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_37308e39f827023af84e56345a6f09d0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_37308e39f827023af84e56345a6f09d0/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 179 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_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_d0dfd8e152dd483b52dc264950df5afd/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d0dfd8e152dd483b52dc264950df5afd/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 180 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_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_5e6430f5541a465ae9c3ecbfeb11c522/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5e6430f5541a465ae9c3ecbfeb11c522/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 180 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 4)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_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_d06b5453a3c272da5c09ee2d3c209cbc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d06b5453a3c272da5c09ee2d3c209cbc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d06b5453a3c272da5c09ee2d3c209cbc/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d06b5453a3c272da5c09ee2d3c209cbc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 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_1066e197d045958739ee433b72838e5d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1066e197d045958739ee433b72838e5d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1066e197d045958739ee433b72838e5d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1066e197d045958739ee433b72838e5d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 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_9482e271d5beb6a27daf4ec229573eef/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9482e271d5beb6a27daf4ec229573eef/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9482e271d5beb6a27daf4ec229573eef/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9482e271d5beb6a27daf4ec229573eef/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #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_576adde7111e18bb87523c2f62757fc3/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_576adde7111e18bb87523c2f62757fc3/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 182 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int16_t))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #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_c7f43002a5561b05f2f3fe03448849b5/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c7f43002a5561b05f2f3fe03448849b5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c7f43002a5561b05f2f3fe03448849b5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c7f43002a5561b05f2f3fe03448849b5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define 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_1345cffaba80f98da563799be3fcf8f3/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1345cffaba80f98da563799be3fcf8f3/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 183 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint16_t))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define 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_e65179879fb6e2b672962f0c9ae0b18e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e65179879fb6e2b672962f0c9ae0b18e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e65179879fb6e2b672962f0c9ae0b18e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e65179879fb6e2b672962f0c9ae0b18e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define 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_6a136f332311752f8cb03ef37de63447/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6a136f332311752f8cb03ef37de63447/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 184 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define 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_3aa7a23f39f40a718395c3bc08503c4d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3aa7a23f39f40a718395c3bc08503c4d/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 185 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int32_t))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define 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_748ffd38d5474b21e903ac9b788f57b4/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_748ffd38d5474b21e903ac9b788f57b4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_748ffd38d5474b21e903ac9b788f57b4/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_748ffd38d5474b21e903ac9b788f57b4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define 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_36a557f2eaa6979165a369415356d825/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_36a557f2eaa6979165a369415356d825/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 185 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define 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_892a91e50d718c44aef98fd93eb127ca/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_892a91e50d718c44aef98fd93eb127ca/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:186:30: error: size of array 'test_array' is negative 186 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint32_t))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define 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_f487c1c885d8c67ef771d0f22f5f3423/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f487c1c885d8c67ef771d0f22f5f3423/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f487c1c885d8c67ef771d0f22f5f3423/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f487c1c885d8c67ef771d0f22f5f3423/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define 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_7becf9f0cbe00a02e8242dde1dd8f29f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7becf9f0cbe00a02e8242dde1dd8f29f/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:186:30: error: size of array 'test_array' is negative 186 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define 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_6af7e0165cb89622104f9ea707e6e7e3/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6af7e0165cb89622104f9ea707e6e7e3/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 187 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define 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_b8fbdd4ad7f859194c483f4acc0fe94d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b8fbdd4ad7f859194c483f4acc0fe94d/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 187 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int64_t))) <= 4)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define 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_2fbaec56183105f0b3fb017c334fbec8/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2fbaec56183105f0b3fb017c334fbec8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2fbaec56183105f0b3fb017c334fbec8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2fbaec56183105f0b3fb017c334fbec8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define 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_78b8aa5905cb81a24229c76b3afb558e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_78b8aa5905cb81a24229c76b3afb558e/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 187 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define 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_2d3ba618e2f6e5b7239a41a76199c156/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2d3ba618e2f6e5b7239a41a76199c156/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 188 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define 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_376e0da1340c3a2b75df9b5565b7d14d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_376e0da1340c3a2b75df9b5565b7d14d/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 188 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(uint64_t))) <= 4)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define 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_268c4809191aa4c882a0340ab6dc50d9/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_268c4809191aa4c882a0340ab6dc50d9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_268c4809191aa4c882a0340ab6dc50d9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_268c4809191aa4c882a0340ab6dc50d9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define 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_f647aa93b5a26137a7412eb65e6c4d7e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f647aa93b5a26137a7412eb65e6c4d7e/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 188 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define 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_bdbb448503ca3386bd96c3b411bed85c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bdbb448503ca3386bd96c3b411bed85c/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 189 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define 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_b34536e0851402d6dd0fcc66804c7416/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b34536e0851402d6dd0fcc66804c7416/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 189 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(void*))) <= 4)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define 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_a31785b0323ea440b85818b56e1bb194/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a31785b0323ea440b85818b56e1bb194/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a31785b0323ea440b85818b56e1bb194/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a31785b0323ea440b85818b56e1bb194/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define 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_0683607386f8a08c11b07d95a3c06cbd/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0683607386f8a08c11b07d95a3c06cbd/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 189 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define 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_f873dc96a482ae0e92ae713b1d391289/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f873dc96a482ae0e92ae713b1d391289/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 190 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define 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_e2a2f6eeffd5fa417e95ea6a68b47c14/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e2a2f6eeffd5fa417e95ea6a68b47c14/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 190 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(off_t))) <= 4)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define 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_61ebb37523f81fed04fa86a6c053b458/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_61ebb37523f81fed04fa86a6c053b458/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_61ebb37523f81fed04fa86a6c053b458/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_61ebb37523f81fed04fa86a6c053b458/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define 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_7f8f88838e10c51ee19510729db9901b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7f8f88838e10c51ee19510729db9901b/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 190 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define 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_85e54b2c6fcb375d057fd36d8c3e98f2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_85e54b2c6fcb375d057fd36d8c3e98f2/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 191 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define 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_7f2212cbb5a8c9b351894ab06c70d7bc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7f2212cbb5a8c9b351894ab06c70d7bc/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 191 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(dev_t))) <= 4)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define 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_4650cc6a3c615556f97277e8ad654bb5/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4650cc6a3c615556f97277e8ad654bb5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4650cc6a3c615556f97277e8ad654bb5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4650cc6a3c615556f97277e8ad654bb5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define 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_2426ef8a9869d9e12c810bf9fc258dc3/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2426ef8a9869d9e12c810bf9fc258dc3/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 191 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define 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_6a41ed42c622e148b00208e68a212b2f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6a41ed42c622e148b00208e68a212b2f/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 192 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define 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_232722b44dc0ffe05924523478372d25/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_232722b44dc0ffe05924523478372d25/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 192 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ino_t))) <= 4)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define 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_1f63a5ce46eb10ee539deed9f86dfb50/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1f63a5ce46eb10ee539deed9f86dfb50/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1f63a5ce46eb10ee539deed9f86dfb50/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1f63a5ce46eb10ee539deed9f86dfb50/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define 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_56edc4e4396d6f502c314dc95569f836/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_56edc4e4396d6f502c314dc95569f836/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 192 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 1)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define 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_6a7788678e26fc935e2a7795d9cbdf4f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6a7788678e26fc935e2a7795d9cbdf4f/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 193 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 2)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define 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_b7a83d38674511f94dc4689596dff29e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b7a83d38674511f94dc4689596dff29e/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 193 | int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(time_t))) <= 4)];; return 0; } | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define 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_fe073a6809628d2752e54706ce4b4e82/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fe073a6809628d2752e54706ce4b4e82/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fe073a6809628d2752e54706ce4b4e82/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fe073a6809628d2752e54706ce4b4e82/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define 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_9d069e18c53db95a969659c48f21acb0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9d069e18c53db95a969659c48f21acb0/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define 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_b830c2c1d92b9184690464a57a4858db/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b830c2c1d92b9184690464a57a4858db/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define 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_47ca7f34d6c98c1e7cb7dcb401959c01/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_47ca7f34d6c98c1e7cb7dcb401959c01/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define 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_9ac8b2248b2505d632ae0f8d3c721ee7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9ac8b2248b2505d632ae0f8d3c721ee7/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define 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_ca85f694d74895dd30c7f72811ce1d2d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ca85f694d74895dd30c7f72811ce1d2d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ca85f694d74895dd30c7f72811ce1d2d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ca85f694d74895dd30c7f72811ce1d2d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_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_214148074314378cc6d1dc0aa8ac059a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_214148074314378cc6d1dc0aa8ac059a/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_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_03da96896b35430d813be47c3f138c22/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_03da96896b35430d813be47c3f138c22/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 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_b28661d9b3f1135305e446a1e17eb3ee/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b28661d9b3f1135305e446a1e17eb3ee/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_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_d9828ec510d81cc5b1e0b60f547e07e2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d9828ec510d81cc5b1e0b60f547e07e2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d9828ec510d81cc5b1e0b60f547e07e2/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d9828ec510d81cc5b1e0b60f547e07e2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #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_033113ed3b505ddc2f4f7ca0739efec5/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_033113ed3b505ddc2f4f7ca0739efec5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_033113ed3b505ddc2f4f7ca0739efec5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_033113ed3b505ddc2f4f7ca0739efec5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_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_878386770566315a868d780473d93f10/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_878386770566315a868d780473d93f10/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_878386770566315a868d780473d93f10/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_878386770566315a868d780473d93f10/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_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_38bfa585f60a614467dbddb2557d638c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_38bfa585f60a614467dbddb2557d638c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_38bfa585f60a614467dbddb2557d638c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_38bfa585f60a614467dbddb2557d638c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #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_0295da5e46839b3157387fa37c63883b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0295da5e46839b3157387fa37c63883b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0295da5e46839b3157387fa37c63883b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0295da5e46839b3157387fa37c63883b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_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_6cc019a9c4e2e1136a80787084ef1d4b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6cc019a9c4e2e1136a80787084ef1d4b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6cc019a9c4e2e1136a80787084ef1d4b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6cc019a9c4e2e1136a80787084ef1d4b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define 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_be536feef291b17a40224b9b88be645b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_be536feef291b17a40224b9b88be645b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_be536feef291b17a40224b9b88be645b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_be536feef291b17a40224b9b88be645b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_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_deeafe122d61860006f6eaf382491b23/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_deeafe122d61860006f6eaf382491b23/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_deeafe122d61860006f6eaf382491b23/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_deeafe122d61860006f6eaf382491b23/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 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_2aca9924b0ab884cd87ca49df762cec0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2aca9924b0ab884cd87ca49df762cec0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2aca9924b0ab884cd87ca49df762cec0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2aca9924b0ab884cd87ca49df762cec0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #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_2abdefe6f99ce4535c89429d52d87e0f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2abdefe6f99ce4535c89429d52d87e0f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2abdefe6f99ce4535c89429d52d87e0f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2abdefe6f99ce4535c89429d52d87e0f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define 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_14c9370fbd15f6ea96b8590f81f638e0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_14c9370fbd15f6ea96b8590f81f638e0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_14c9370fbd15f6ea96b8590f81f638e0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_14c9370fbd15f6ea96b8590f81f638e0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define 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_10ef6d965f72d0d2ff5e52ec026af545/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_10ef6d965f72d0d2ff5e52ec026af545/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_10ef6d965f72d0d2ff5e52ec026af545/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_10ef6d965f72d0d2ff5e52ec026af545/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #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_e23090a78bf5f0bf052e8f03e62ac0bc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e23090a78bf5f0bf052e8f03e62ac0bc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e23090a78bf5f0bf052e8f03e62ac0bc/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e23090a78bf5f0bf052e8f03e62ac0bc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 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_95bd39dc029ec4ecb517ae0ee16829c0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_95bd39dc029ec4ecb517ae0ee16829c0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_95bd39dc029ec4ecb517ae0ee16829c0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_95bd39dc029ec4ecb517ae0ee16829c0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_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_9d72430a9871f64935258a4323e09ccf/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9d72430a9871f64935258a4323e09ccf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9d72430a9871f64935258a4323e09ccf/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9d72430a9871f64935258a4323e09ccf/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_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_59df781e3b412fd9c66b16449ad63646/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_59df781e3b412fd9c66b16449ad63646/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_59df781e3b412fd9c66b16449ad63646/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_59df781e3b412fd9c66b16449ad63646/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_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_703172ff4171f42a14f8d0a45e34eaf2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_703172ff4171f42a14f8d0a45e34eaf2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_703172ff4171f42a14f8d0a45e34eaf2/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_703172ff4171f42a14f8d0a45e34eaf2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define 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_fb7ba6d4fef05874d9a0ce52ca2516a8/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fb7ba6d4fef05874d9a0ce52ca2516a8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fb7ba6d4fef05874d9a0ce52ca2516a8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fb7ba6d4fef05874d9a0ce52ca2516a8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define 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_e7e73fe4da7cdaffb1bbf094362d0cfa/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e7e73fe4da7cdaffb1bbf094362d0cfa/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:219:39: error: 'memset_s' undeclared (first use in this function); did you mean 'memset'? 219 | int main(void) { void *__x = (void *)memset_s; return (int)__x; return 0; } | ^~~~~~~~ | memset ../../test.c:219:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:219:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 219 | int main(void) { void *__x = (void *)memset_s; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define 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_bf0cafb3b4718b8c5771faed972b0e94/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bf0cafb3b4718b8c5771faed972b0e94/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_bf0cafb3b4718b8c5771faed972b0e94/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bf0cafb3b4718b8c5771faed972b0e94/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_f59e44a624c69e02ee1a4dcae876c051/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f59e44a624c69e02ee1a4dcae876c051/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:220:39: error: 'memset_explicit' undeclared (first use in this function) 220 | int main(void) { void *__x = (void *)memset_explicit; return (int)__x; return 0; } | ^~~~~~~~~~~~~~~ ../../test.c:220:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:220:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 220 | int main(void) { void *__x = (void *)memset_explicit; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_d3b1e134882d7f6097b25105bc94f660/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d3b1e134882d7f6097b25105bc94f660/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:226:37: warning: null character(s) preserved in literal 226 | memset(buf, ' ', sizeof(buf)); __asm__ volatile("" : : "g"(&buf) : "memory"); | ^ [2/2] Linking bin/.conf_check_d3b1e134882d7f6097b25105bc94f660/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d3b1e134882d7f6097b25105bc94f660/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_d912ef990bbd30b49eb33f5c12de75c7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d912ef990bbd30b49eb33f5c12de75c7/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_802bbdf1ac82354e4ea3b9ebc42c3cfc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_802bbdf1ac82354e4ea3b9ebc42c3cfc/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_9326494ec573a36c2889b19d1a378370/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9326494ec573a36c2889b19d1a378370/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9326494ec573a36c2889b19d1a378370/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9326494ec573a36c2889b19d1a378370/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_71c7e77ec71d16c0395951c2375fe5b1/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_71c7e77ec71d16c0395951c2375fe5b1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_71c7e77ec71d16c0395951c2375fe5b1/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_71c7e77ec71d16c0395951c2375fe5b1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_42a5ad029a0f3c2349750d166f60f6c6/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_42a5ad029a0f3c2349750d166f60f6c6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_42a5ad029a0f3c2349750d166f60f6c6/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_42a5ad029a0f3c2349750d166f60f6c6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_b254e6fe9a086ec74291b487728516c5/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b254e6fe9a086ec74291b487728516c5/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:229:21: warning: implicit declaration of function 'atomic_add_32' [-Wimplicit-function-declaration] 229 | atomic_add_32(&i, 1); | ^~~~~~~~~~~~~ [2/2] Linking bin/.conf_check_b254e6fe9a086ec74291b487728516c5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b254e6fe9a086ec74291b487728516c5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `.L0 ': test.c:(.text.startup+0x24): undefined reference to `atomic_add_32' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_6b01b404d5da039467acdc6d1bfc4298/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6b01b404d5da039467acdc6d1bfc4298/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6b01b404d5da039467acdc6d1bfc4298/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6b01b404d5da039467acdc6d1bfc4298/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_bac15eb70c35517dbcb1764149c5cbcf/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror=missing-declarations', '-Werror', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bac15eb70c35517dbcb1764149c5cbcf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_bac15eb70c35517dbcb1764149c5cbcf/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bac15eb70c35517dbcb1764149c5cbcf/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_a384da14491b3d9f7fd1ec5dd1cf8ac2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a384da14491b3d9f7fd1ec5dd1cf8ac2/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:232:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 232 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_b2cab27ff664c2db544121dd2784c16a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b2cab27ff664c2db544121dd2784c16a/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:233:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 233 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_8f105dc51e2a2a0055c0544cab70aa78/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8f105dc51e2a2a0055c0544cab70aa78/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:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 234 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_f60617f7394919afa35697c47126e8cf/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f60617f7394919afa35697c47126e8cf/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:235:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 235 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_344d0e6537735a35fc9494ffa4c41929/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_344d0e6537735a35fc9494ffa4c41929/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:236:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 236 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_fcc3080b48c47fd2bbda40eaf854d6d2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fcc3080b48c47fd2bbda40eaf854d6d2/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:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 237 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_9fa861266428798da984c48a0042040f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9fa861266428798da984c48a0042040f/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] 238 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_6c52205efa47f48ef4eea0f4fdf00769/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6c52205efa47f48ef4eea0f4fdf00769/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:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 239 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_0219b2523aad6c3763f7070ace69a753/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0219b2523aad6c3763f7070ace69a753/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:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 240 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_b7f0f70ebae983b1d57d76b72fa0b994/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b7f0f70ebae983b1d57d76b72fa0b994/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b7f0f70ebae983b1d57d76b72fa0b994/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b7f0f70ebae983b1d57d76b72fa0b994/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_5ed3fc5578b9ac96a8aa6f9348a1d027/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5ed3fc5578b9ac96a8aa6f9348a1d027/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:39: error: 'shl_load' undeclared (first use in this function) 240 | int main(void) { void *__x = (void *)shl_load; return (int)__x; return 0; } | ^~~~~~~~ ../../test.c:240:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:240:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 240 | int main(void) { void *__x = (void *)shl_load; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_bad0691efa2ef6f44b9556286a9db226/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bad0691efa2ef6f44b9556286a9db226/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_bad0691efa2ef6f44b9556286a9db226/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bad0691efa2ef6f44b9556286a9db226/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_1140edd26fd5626317520544a36e2de3/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1140edd26fd5626317520544a36e2de3/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:39: error: 'shl_unload' undeclared (first use in this function) 241 | int main(void) { void *__x = (void *)shl_unload; return (int)__x; return 0; } | ^~~~~~~~~~ ../../test.c:241:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:241:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 241 | int main(void) { void *__x = (void *)shl_unload; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_d3b675f41efb066529c66f86a4024249/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d3b675f41efb066529c66f86a4024249/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d3b675f41efb066529c66f86a4024249/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d3b675f41efb066529c66f86a4024249/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_85789bb58ca843298c9e73cfee003770/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_85789bb58ca843298c9e73cfee003770/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:39: error: 'shl_findsym' undeclared (first use in this function) 242 | int main(void) { void *__x = (void *)shl_findsym; return (int)__x; return 0; } | ^~~~~~~~~~~ ../../test.c:242:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:242:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 242 | int main(void) { void *__x = (void *)shl_findsym; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_184e99e4e382f95aa7f94ecf54df6d13/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_184e99e4e382f95aa7f94ecf54df6d13/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_184e99e4e382f95aa7f94ecf54df6d13/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_184e99e4e382f95aa7f94ecf54df6d13/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_61dc42c14c613c0c42e1ad1e8315ed19/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_61dc42c14c613c0c42e1ad1e8315ed19/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:241:38: warning: conflicting types for built-in function 'strftime'; expected 'long unsigned int(char *, long unsigned int, const char *, const void *)' [-Wbuiltin-declaration-mismatch] 241 | extern char strftime(); | ^~~~~~~~ ../../test.c:234:1: note: 'strftime' is declared in header '' 233 | # include +++ |+#include 234 | #else [2/2] Linking bin/.conf_check_61dc42c14c613c0c42e1ad1e8315ed19/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_61dc42c14c613c0c42e1ad1e8315ed19/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_ed9212fd4cc6498db2619051d2531e16/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ed9212fd4cc6498db2619051d2531e16/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ed9212fd4cc6498db2619051d2531e16/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ed9212fd4cc6498db2619051d2531e16/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_d112d5d934414b4b7b0989b78b26ea61/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d112d5d934414b4b7b0989b78b26ea61/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d112d5d934414b4b7b0989b78b26ea61/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d112d5d934414b4b7b0989b78b26ea61/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_ebaa161c2995dc728a49b03d50d159be/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ebaa161c2995dc728a49b03d50d159be/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ebaa161c2995dc728a49b03d50d159be/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ebaa161c2995dc728a49b03d50d159be/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_9536c4cf25a2fa823683b3e3ec71f3d1/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9536c4cf25a2fa823683b3e3ec71f3d1/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9536c4cf25a2fa823683b3e3ec71f3d1/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9536c4cf25a2fa823683b3e3ec71f3d1/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_8e5d58cd281999391228a0b889a463c8/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8e5d58cd281999391228a0b889a463c8/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8e5d58cd281999391228a0b889a463c8/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8e5d58cd281999391228a0b889a463c8/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_bdbe74b020949bade8ef4f4eaf4202db/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bdbe74b020949bade8ef4f4eaf4202db/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_bdbe74b020949bade8ef4f4eaf4202db/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bdbe74b020949bade8ef4f4eaf4202db/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_badb1a4df604d9e8712f9d8130836b2e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_badb1a4df604d9e8712f9d8130836b2e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_badb1a4df604d9e8712f9d8130836b2e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_badb1a4df604d9e8712f9d8130836b2e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_8d9c074fd28f182187e1220dba7a3791/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8d9c074fd28f182187e1220dba7a3791/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8d9c074fd28f182187e1220dba7a3791/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8d9c074fd28f182187e1220dba7a3791/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_f9109d26cb0711f30d98f7074c47b490/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f9109d26cb0711f30d98f7074c47b490/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f9109d26cb0711f30d98f7074c47b490/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f9109d26cb0711f30d98f7074c47b490/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_e5c06f3245a312e27dc8fa32ad43495b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e5c06f3245a312e27dc8fa32ad43495b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e5c06f3245a312e27dc8fa32ad43495b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e5c06f3245a312e27dc8fa32ad43495b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_f546798ae909d82358a4ebbf3bc5891c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f546798ae909d82358a4ebbf3bc5891c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f546798ae909d82358a4ebbf3bc5891c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f546798ae909d82358a4ebbf3bc5891c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_ad648910ffdf26d19541848674fa316e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ad648910ffdf26d19541848674fa316e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ad648910ffdf26d19541848674fa316e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ad648910ffdf26d19541848674fa316e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_fa049313e4150a1e16a8fb69ef1994cf/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fa049313e4150a1e16a8fb69ef1994cf/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fa049313e4150a1e16a8fb69ef1994cf/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fa049313e4150a1e16a8fb69ef1994cf/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_6c1e20ba6568aa41ec42072953070166/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6c1e20ba6568aa41ec42072953070166/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6c1e20ba6568aa41ec42072953070166/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6c1e20ba6568aa41ec42072953070166/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_e57d6524096cc2cd53e5739b226274d7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e57d6524096cc2cd53e5739b226274d7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e57d6524096cc2cd53e5739b226274d7/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e57d6524096cc2cd53e5739b226274d7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_ae9e830a2501c819ddc567d2bd016f9d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ae9e830a2501c819ddc567d2bd016f9d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ae9e830a2501c819ddc567d2bd016f9d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ae9e830a2501c819ddc567d2bd016f9d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_4c0b1e33c32697a3ea93f5987d04795d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4c0b1e33c32697a3ea93f5987d04795d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4c0b1e33c32697a3ea93f5987d04795d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4c0b1e33c32697a3ea93f5987d04795d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_6a4a7d629b9388deda117d34fa23e361/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6a4a7d629b9388deda117d34fa23e361/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6a4a7d629b9388deda117d34fa23e361/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6a4a7d629b9388deda117d34fa23e361/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_9c579f196b2549c77d97baed0daa1a19/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9c579f196b2549c77d97baed0daa1a19/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_9c579f196b2549c77d97baed0daa1a19/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9c579f196b2549c77d97baed0daa1a19/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_1d41e1da0b1a82e1384e425916fea6f2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1d41e1da0b1a82e1384e425916fea6f2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1d41e1da0b1a82e1384e425916fea6f2/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1d41e1da0b1a82e1384e425916fea6f2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_1fdf798d373583a081a7933f06793528/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1fdf798d373583a081a7933f06793528/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1fdf798d373583a081a7933f06793528/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1fdf798d373583a081a7933f06793528/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_c9a1019ce2537ce5e6521b160ed2cdeb/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c9a1019ce2537ce5e6521b160ed2cdeb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c9a1019ce2537ce5e6521b160ed2cdeb/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c9a1019ce2537ce5e6521b160ed2cdeb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_1815a1eeb4b7980b362e4004ad3e8d51/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1815a1eeb4b7980b362e4004ad3e8d51/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1815a1eeb4b7980b362e4004ad3e8d51/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1815a1eeb4b7980b362e4004ad3e8d51/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_f40e8c4d89cc4fdab33a91516cb4caee/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f40e8c4d89cc4fdab33a91516cb4caee/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f40e8c4d89cc4fdab33a91516cb4caee/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f40e8c4d89cc4fdab33a91516cb4caee/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_4dd045cd3adab7cd76ed8889e120ddd7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4dd045cd3adab7cd76ed8889e120ddd7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4dd045cd3adab7cd76ed8889e120ddd7/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4dd045cd3adab7cd76ed8889e120ddd7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_24f693489a6147aaa3760589894b2fb4/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_24f693489a6147aaa3760589894b2fb4/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:269:39: error: 'chsize' undeclared (first use in this function) 269 | int main(void) { void *__x = (void *)chsize; return (int)__x; return 0; } | ^~~~~~ ../../test.c:269:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:269:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 269 | int main(void) { void *__x = (void *)chsize; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_1227ef2e7aff9cef483275dd8800d54f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1227ef2e7aff9cef483275dd8800d54f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1227ef2e7aff9cef483275dd8800d54f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1227ef2e7aff9cef483275dd8800d54f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_cdcd45dcfd5377649641dc7d8890a5e0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_cdcd45dcfd5377649641dc7d8890a5e0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_cdcd45dcfd5377649641dc7d8890a5e0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_cdcd45dcfd5377649641dc7d8890a5e0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_5c7521f26c2356759d0d4bf5925d6512/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5c7521f26c2356759d0d4bf5925d6512/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5c7521f26c2356759d0d4bf5925d6512/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5c7521f26c2356759d0d4bf5925d6512/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_3aade2c331074da70e66c21ba3c93884/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3aade2c331074da70e66c21ba3c93884/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3aade2c331074da70e66c21ba3c93884/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3aade2c331074da70e66c21ba3c93884/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_94291b4d3a4e8f07fa5f89170270a3c3/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_94291b4d3a4e8f07fa5f89170270a3c3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_94291b4d3a4e8f07fa5f89170270a3c3/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_94291b4d3a4e8f07fa5f89170270a3c3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_8b577792cc4d393244f34d0d250fe10c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8b577792cc4d393244f34d0d250fe10c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8b577792cc4d393244f34d0d250fe10c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8b577792cc4d393244f34d0d250fe10c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_62e6df80479c42120d628f0313f9db3f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_62e6df80479c42120d628f0313f9db3f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:273:38: warning: conflicting types for built-in function 'strndup'; expected 'char *(const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 273 | extern char strndup(); | ^~~~~~~ [2/2] Linking bin/.conf_check_62e6df80479c42120d628f0313f9db3f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_62e6df80479c42120d628f0313f9db3f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_42f59afe15765516d065d3b7bfa29591/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_42f59afe15765516d065d3b7bfa29591/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_42f59afe15765516d065d3b7bfa29591/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_42f59afe15765516d065d3b7bfa29591/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_41fcc015456e5f98a2dc4bf26926f6f4/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_41fcc015456e5f98a2dc4bf26926f6f4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_41fcc015456e5f98a2dc4bf26926f6f4/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_41fcc015456e5f98a2dc4bf26926f6f4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_ac9332c0e2a4d444bd96cc2041801b68/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ac9332c0e2a4d444bd96cc2041801b68/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ac9332c0e2a4d444bd96cc2041801b68/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ac9332c0e2a4d444bd96cc2041801b68/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_2b791f3f1c4294d66c583b2e42676925/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2b791f3f1c4294d66c583b2e42676925/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2b791f3f1c4294d66c583b2e42676925/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2b791f3f1c4294d66c583b2e42676925/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_4611d3a0e9ffe70f317d08830a0a5624/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4611d3a0e9ffe70f317d08830a0a5624/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4611d3a0e9ffe70f317d08830a0a5624/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4611d3a0e9ffe70f317d08830a0a5624/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_3b3d39a3af9d656f7a9cb018372fb529/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3b3d39a3af9d656f7a9cb018372fb529/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3b3d39a3af9d656f7a9cb018372fb529/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3b3d39a3af9d656f7a9cb018372fb529/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_b933ee98aed9dc2da2cae6d75c69aac7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b933ee98aed9dc2da2cae6d75c69aac7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b933ee98aed9dc2da2cae6d75c69aac7/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b933ee98aed9dc2da2cae6d75c69aac7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_0d6e182faec5bb00a5a149f4433916a2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0d6e182faec5bb00a5a149f4433916a2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0d6e182faec5bb00a5a149f4433916a2/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0d6e182faec5bb00a5a149f4433916a2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_4f6f598d423ed34d3335f6ffe9ecf7bb/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4f6f598d423ed34d3335f6ffe9ecf7bb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4f6f598d423ed34d3335f6ffe9ecf7bb/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4f6f598d423ed34d3335f6ffe9ecf7bb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_788f57c8571e5bd912b624dba324fd6f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_788f57c8571e5bd912b624dba324fd6f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_788f57c8571e5bd912b624dba324fd6f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_788f57c8571e5bd912b624dba324fd6f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_e76055666e4765a95fde7b6f5669531b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e76055666e4765a95fde7b6f5669531b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e76055666e4765a95fde7b6f5669531b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e76055666e4765a95fde7b6f5669531b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_93f7637e01c7ec34a7322c2d33beb3bc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_93f7637e01c7ec34a7322c2d33beb3bc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_93f7637e01c7ec34a7322c2d33beb3bc/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_93f7637e01c7ec34a7322c2d33beb3bc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_477ab1ff22c940b5821011be2d1c6c1c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_477ab1ff22c940b5821011be2d1c6c1c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_477ab1ff22c940b5821011be2d1c6c1c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_477ab1ff22c940b5821011be2d1c6c1c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_a49c5b52c02069322249c11df36d010f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a49c5b52c02069322249c11df36d010f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a49c5b52c02069322249c11df36d010f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a49c5b52c02069322249c11df36d010f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_9908c9ab60be343919da09427834e507/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9908c9ab60be343919da09427834e507/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:288:38: warning: conflicting types for built-in function 'snprintf'; expected 'int(char *, long unsigned int, const char *, ...)' [-Wbuiltin-declaration-mismatch] 288 | extern char snprintf(); | ^~~~~~~~ ../../test.c:281:1: note: 'snprintf' is declared in header '' 280 | # include +++ |+#include 281 | #else [2/2] Linking bin/.conf_check_9908c9ab60be343919da09427834e507/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9908c9ab60be343919da09427834e507/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_ea1228272ad8db9914a3db3acb63aeb4/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ea1228272ad8db9914a3db3acb63aeb4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:289:38: warning: conflicting types for built-in function 'vsnprintf'; expected 'int(char *, long unsigned int, const char *, void *)' [-Wbuiltin-declaration-mismatch] 289 | extern char vsnprintf(); | ^~~~~~~~~ ../../test.c:282:1: note: 'vsnprintf' is declared in header '' 281 | # include +++ |+#include 282 | #else [2/2] Linking bin/.conf_check_ea1228272ad8db9914a3db3acb63aeb4/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ea1228272ad8db9914a3db3acb63aeb4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_c2d19af85f3346f009745d0b51a273d5/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c2d19af85f3346f009745d0b51a273d5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c2d19af85f3346f009745d0b51a273d5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c2d19af85f3346f009745d0b51a273d5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_c8719e94068a24cb94cc3f136bd28d4f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c8719e94068a24cb94cc3f136bd28d4f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c8719e94068a24cb94cc3f136bd28d4f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c8719e94068a24cb94cc3f136bd28d4f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_a596aba7794b1e0c7d8c5ed34146e987/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a596aba7794b1e0c7d8c5ed34146e987/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a596aba7794b1e0c7d8c5ed34146e987/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a596aba7794b1e0c7d8c5ed34146e987/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_4400e820ffefd265d38ec348974dfda0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4400e820ffefd265d38ec348974dfda0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4400e820ffefd265d38ec348974dfda0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4400e820ffefd265d38ec348974dfda0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_719fe104881d72db9ea92de2334199da/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_719fe104881d72db9ea92de2334199da/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:294:38: warning: conflicting types for built-in function 'strnlen'; expected 'long unsigned int(const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 294 | extern char strnlen(); | ^~~~~~~ [2/2] Linking bin/.conf_check_719fe104881d72db9ea92de2334199da/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_719fe104881d72db9ea92de2334199da/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_b3c7c84ab86033cae71bfdeea8123a42/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b3c7c84ab86033cae71bfdeea8123a42/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b3c7c84ab86033cae71bfdeea8123a42/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b3c7c84ab86033cae71bfdeea8123a42/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_c61c0eb0b8bdf4e345bf5a4379daa308/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c61c0eb0b8bdf4e345bf5a4379daa308/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c61c0eb0b8bdf4e345bf5a4379daa308/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c61c0eb0b8bdf4e345bf5a4379daa308/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_f2509d60d0f03f416190e54b2321091f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f2509d60d0f03f416190e54b2321091f/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:299:39: error: '__strtoull' undeclared (first use in this function); did you mean 'strtoull'? 299 | int main(void) { void *__x = (void *)__strtoull; return (int)__x; return 0; } | ^~~~~~~~~~ | strtoull ../../test.c:299:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:299:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 299 | int main(void) { void *__x = (void *)__strtoull; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_0e4ec97158cc6ce806e834eb4541fc4d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0e4ec97158cc6ce806e834eb4541fc4d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0e4ec97158cc6ce806e834eb4541fc4d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0e4ec97158cc6ce806e834eb4541fc4d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_17380af8288a7283b165c12408abcc9a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_17380af8288a7283b165c12408abcc9a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_17380af8288a7283b165c12408abcc9a/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_17380af8288a7283b165c12408abcc9a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_0968864a46fa05d9528319f5f71f68d9/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0968864a46fa05d9528319f5f71f68d9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0968864a46fa05d9528319f5f71f68d9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0968864a46fa05d9528319f5f71f68d9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_88b0eac0b4600bde78c03a9ef85b361a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_88b0eac0b4600bde78c03a9ef85b361a/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:302:39: error: '__strtoll' undeclared (first use in this function); did you mean 'strtoll'? 302 | int main(void) { void *__x = (void *)__strtoll; return (int)__x; return 0; } | ^~~~~~~~~ | strtoll ../../test.c:302:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:302:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 302 | int main(void) { void *__x = (void *)__strtoll; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_20819896573a4f2ae38a2677c781e514/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_20819896573a4f2ae38a2677c781e514/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_20819896573a4f2ae38a2677c781e514/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_20819896573a4f2ae38a2677c781e514/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_779d8b6a5677a9afe4adb28839c2e1df/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_779d8b6a5677a9afe4adb28839c2e1df/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_779d8b6a5677a9afe4adb28839c2e1df/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_779d8b6a5677a9afe4adb28839c2e1df/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_56f31250163b12e18430f21f11efee60/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_56f31250163b12e18430f21f11efee60/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:302:38: warning: conflicting types for built-in function 'posix_memalign'; expected 'int(void **, long unsigned int, long unsigned int)' [-Wbuiltin-declaration-mismatch] 302 | extern char posix_memalign(); | ^~~~~~~~~~~~~~ [2/2] Linking bin/.conf_check_56f31250163b12e18430f21f11efee60/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_56f31250163b12e18430f21f11efee60/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_4fba3d0784004bf1f7479bcf52d5aa7f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4fba3d0784004bf1f7479bcf52d5aa7f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4fba3d0784004bf1f7479bcf52d5aa7f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4fba3d0784004bf1f7479bcf52d5aa7f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_832e1963407084bb62b62c962684ac6f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_832e1963407084bb62b62c962684ac6f/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_2648b5d63517fd744f1ce4b571a5238d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2648b5d63517fd744f1ce4b571a5238d/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:310:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 310 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_a24c6da1520b548cf65c3270f8378514/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a24c6da1520b548cf65c3270f8378514/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:309: warning: "_XOPEN_SOURCE" redefined 309 | #define _XOPEN_SOURCE 600 | In file included from /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/bits/libc-header-start.h:33, from /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/stdio.h:27, from ../../test.c:294: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/features.h:207: note: this is the location of the previous definition 207 | # define _XOPEN_SOURCE 700 | [2/2] Linking bin/.conf_check_a24c6da1520b548cf65c3270f8378514/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a24c6da1520b548cf65c3270f8378514/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_16459f5a0138c41ca226e39dc03e555d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_16459f5a0138c41ca226e39dc03e555d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_16459f5a0138c41ca226e39dc03e555d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_16459f5a0138c41ca226e39dc03e555d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_a470be787f91b97a0aaabc550fbe1d0e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a470be787f91b97a0aaabc550fbe1d0e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a470be787f91b97a0aaabc550fbe1d0e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a470be787f91b97a0aaabc550fbe1d0e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_60a0e9ed3473c78f814cc35b27d48df6/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_60a0e9ed3473c78f814cc35b27d48df6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_60a0e9ed3473c78f814cc35b27d48df6/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_60a0e9ed3473c78f814cc35b27d48df6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_a54366bd33105d04f077a2550cc1a7f2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a54366bd33105d04f077a2550cc1a7f2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a54366bd33105d04f077a2550cc1a7f2/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a54366bd33105d04f077a2550cc1a7f2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_6d55b6eff0a98d614be999bb9407512b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6d55b6eff0a98d614be999bb9407512b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_6d55b6eff0a98d614be999bb9407512b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6d55b6eff0a98d614be999bb9407512b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_6d55b6eff0a98d614be999bb9407512b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6d55b6eff0a98d614be999bb9407512b/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/cache.txt', 'Checking correct behavior of strtoll'] from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_3f424c3278ce0d4d9d423ee2d3ffa413/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3f424c3278ce0d4d9d423ee2d3ffa413/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3f424c3278ce0d4d9d423ee2d3ffa413/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3f424c3278ce0d4d9d423ee2d3ffa413/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_f5be5bcc651c50773eaae165d536d2ec/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f5be5bcc651c50773eaae165d536d2ec/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f5be5bcc651c50773eaae165d536d2ec/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f5be5bcc651c50773eaae165d536d2ec/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] ok --------------------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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 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_2eff957cec50da178302389acc8c04ca/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2eff957cec50da178302389acc8c04ca/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2eff957cec50da178302389acc8c04ca/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2eff957cec50da178302389acc8c04ca/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_42af43e1ede235faad3308fe811728e3/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_42af43e1ede235faad3308fe811728e3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_42af43e1ede235faad3308fe811728e3/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_42af43e1ede235faad3308fe811728e3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_90ac23aed154957e569b20f19c261524/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_90ac23aed154957e569b20f19c261524/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_90ac23aed154957e569b20f19c261524/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_90ac23aed154957e569b20f19c261524/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_72c91348462a638aea62570657c59afa/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_72c91348462a638aea62570657c59afa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_72c91348462a638aea62570657c59afa/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_72c91348462a638aea62570657c59afa/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_5e1e6e03d0a7b900d0009f652a6c5723/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5e1e6e03d0a7b900d0009f652a6c5723/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_5e1e6e03d0a7b900d0009f652a6c5723/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5e1e6e03d0a7b900d0009f652a6c5723/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_39cd4a1b625a5e7b023682c4b832b5bb/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_39cd4a1b625a5e7b023682c4b832b5bb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_39cd4a1b625a5e7b023682c4b832b5bb/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_39cd4a1b625a5e7b023682c4b832b5bb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_e92209617dc390fec89ea3918624d7c9/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e92209617dc390fec89ea3918624d7c9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e92209617dc390fec89ea3918624d7c9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e92209617dc390fec89ea3918624d7c9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_d0d92390e8b96f6ba3215049e165f5e6/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d0d92390e8b96f6ba3215049e165f5e6/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d0d92390e8b96f6ba3215049e165f5e6/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d0d92390e8b96f6ba3215049e165f5e6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_4b4b69e494bfbe0ce4bf944c22089b1d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4b4b69e494bfbe0ce4bf944c22089b1d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4b4b69e494bfbe0ce4bf944c22089b1d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4b4b69e494bfbe0ce4bf944c22089b1d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_87b6e047848f5d61a59a9813ab464586/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_87b6e047848f5d61a59a9813ab464586/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_87b6e047848f5d61a59a9813ab464586/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_87b6e047848f5d61a59a9813ab464586/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_4ba24f455172c67a3494058c36b25966/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4ba24f455172c67a3494058c36b25966/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_4ba24f455172c67a3494058c36b25966/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4ba24f455172c67a3494058c36b25966/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_bd0b5725ffc87dc880d75abd8bb7c740/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bd0b5725ffc87dc880d75abd8bb7c740/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_bd0b5725ffc87dc880d75abd8bb7c740/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bd0b5725ffc87dc880d75abd8bb7c740/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_d3ba2be21a6aeb021a2fce062e336d6a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d3ba2be21a6aeb021a2fce062e336d6a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d3ba2be21a6aeb021a2fce062e336d6a/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d3ba2be21a6aeb021a2fce062e336d6a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_70bad5088dd309a8604498adb3b27a65/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_70bad5088dd309a8604498adb3b27a65/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_70bad5088dd309a8604498adb3b27a65/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_70bad5088dd309a8604498adb3b27a65/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_7fbc0ed0ecc804a1751133aef2762c5f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7fbc0ed0ecc804a1751133aef2762c5f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7fbc0ed0ecc804a1751133aef2762c5f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7fbc0ed0ecc804a1751133aef2762c5f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_e0c8c4647cda2371c1a6a03bb1ca5acd/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e0c8c4647cda2371c1a6a03bb1ca5acd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e0c8c4647cda2371c1a6a03bb1ca5acd/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e0c8c4647cda2371c1a6a03bb1ca5acd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_d107371d4d541a3ddffe8dae07735211/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d107371d4d541a3ddffe8dae07735211/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d107371d4d541a3ddffe8dae07735211/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d107371d4d541a3ddffe8dae07735211/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_a55e9f026e7ca5d25db322e7f3db5d58/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a55e9f026e7ca5d25db322e7f3db5d58/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a55e9f026e7ca5d25db322e7f3db5d58/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a55e9f026e7ca5d25db322e7f3db5d58/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_66d0587ab225c508bcdc55a1a66d77dd/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_66d0587ab225c508bcdc55a1a66d77dd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_66d0587ab225c508bcdc55a1a66d77dd/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_66d0587ab225c508bcdc55a1a66d77dd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_987da4ecd657542f362fd07717ddf0a8/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_987da4ecd657542f362fd07717ddf0a8/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:335:39: error: 'port_create' undeclared (first use in this function) 335 | int main(void) { void *__x = (void *)port_create; return (int)__x; return 0; } | ^~~~~~~~~~~ ../../test.c:335:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:335:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 335 | int main(void) { void *__x = (void *)port_create; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_c5dd49d36f160e2f65da045693953550/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c5dd49d36f160e2f65da045693953550/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c5dd49d36f160e2f65da045693953550/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c5dd49d36f160e2f65da045693953550/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_de7b2f6a650198dea931787e9274fb3d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_de7b2f6a650198dea931787e9274fb3d/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:336:39: error: 'getprogname' undeclared (first use in this function) 336 | int main(void) { void *__x = (void *)getprogname; return (int)__x; return 0; } | ^~~~~~~~~~~ ../../test.c:336:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:336:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 336 | int main(void) { void *__x = (void *)getprogname; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_2a339882d0df76d5f3c22732e5e5c583/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2a339882d0df76d5f3c22732e5e5c583/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2a339882d0df76d5f3c22732e5e5c583/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2a339882d0df76d5f3c22732e5e5c583/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_1f72013ee1fdc5b15b5f4d1a79d4c5a8/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1f72013ee1fdc5b15b5f4d1a79d4c5a8/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:340:19: error: too many arguments to function 'getxattr' 340 | int main(void) { getxattr(NULL, NULL, NULL, 0, 0, 0); return 0; } | ^~~~~~~~ In file included from ../../test.c:339: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/xattr.h:59:16: note: declared here 59 | extern ssize_t getxattr (const char *__path, const char *__name, | ^~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_5e92d1b0ad8843d714734400cf502dda/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5e92d1b0ad8843d714734400cf502dda/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_c097c30c384c20ac7d02f23c8f453e30/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c097c30c384c20ac7d02f23c8f453e30/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:341:10: fatal error: dl.h: No such file or directory 341 | #include | ^~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_917d05b816c1c4e106485a0c2b5080de/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_917d05b816c1c4e106485a0c2b5080de/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_917d05b816c1c4e106485a0c2b5080de/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_917d05b816c1c4e106485a0c2b5080de/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_9f4b64afa2f28135cd0ad9ade95c8d28/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9f4b64afa2f28135cd0ad9ade95c8d28/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:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 343 | int main(void) { void *__x = (void *)dlopen; return (int)__x; return 0; } | ^ [2/2] Linking bin/.conf_check_9f4b64afa2f28135cd0ad9ade95c8d28/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9f4b64afa2f28135cd0ad9ade95c8d28/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `dlopen' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_140c25eb775e0eba02c9654eb08e00ec/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_140c25eb775e0eba02c9654eb08e00ec/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_140c25eb775e0eba02c9654eb08e00ec/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_140c25eb775e0eba02c9654eb08e00ec/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_9ce17706275a891aea745ae070f29e1f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9ce17706275a891aea745ae070f29e1f/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:344:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 344 | int main(void) { void *__x = (void *)dlsym; return (int)__x; return 0; } | ^ [2/2] Linking bin/.conf_check_9ce17706275a891aea745ae070f29e1f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9ce17706275a891aea745ae070f29e1f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `dlsym' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_efb954d3d362839ceb2a1b6259474594/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_efb954d3d362839ceb2a1b6259474594/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_efb954d3d362839ceb2a1b6259474594/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_efb954d3d362839ceb2a1b6259474594/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_7a4d65ebe7f045c3a24a873c63267052/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7a4d65ebe7f045c3a24a873c63267052/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:345:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 345 | int main(void) { void *__x = (void *)dlerror; return (int)__x; return 0; } | ^ [2/2] Linking bin/.conf_check_7a4d65ebe7f045c3a24a873c63267052/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7a4d65ebe7f045c3a24a873c63267052/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `dlerror' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_6adefb4e8af449f97480ae29c8667a34/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6adefb4e8af449f97480ae29c8667a34/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_6adefb4e8af449f97480ae29c8667a34/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6adefb4e8af449f97480ae29c8667a34/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_6f5f94992ba99d3b75021328b59fa512/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6f5f94992ba99d3b75021328b59fa512/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:346:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 346 | int main(void) { void *__x = (void *)dlclose; return (int)__x; return 0; } | ^ [2/2] Linking bin/.conf_check_6f5f94992ba99d3b75021328b59fa512/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6f5f94992ba99d3b75021328b59fa512/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `dlclose' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_618994d5d86fd470596c88a0d8405a0d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_618994d5d86fd470596c88a0d8405a0d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_618994d5d86fd470596c88a0d8405a0d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_618994d5d86fd470596c88a0d8405a0d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_84b78cb8cd3bddab86db811388ebb53d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_84b78cb8cd3bddab86db811388ebb53d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:346:10: fatal error: dl.h: No such file or directory 346 | #include | ^~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_21bb94abeaf617941545b270ee30189a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_21bb94abeaf617941545b270ee30189a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_21bb94abeaf617941545b270ee30189a/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_21bb94abeaf617941545b270ee30189a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_d937ecf36e793ba65ab251875cbb266e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d937ecf36e793ba65ab251875cbb266e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:346:10: fatal error: dl.h: No such file or directory 346 | #include | ^~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_dc36c7e8613bc947342f518586309b9e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_dc36c7e8613bc947342f518586309b9e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_dc36c7e8613bc947342f518586309b9e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_dc36c7e8613bc947342f518586309b9e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_04b4533a1fdad3f48560afa52ec810cb/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_04b4533a1fdad3f48560afa52ec810cb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:346:10: fatal error: dl.h: No such file or directory 346 | #include | ^~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_ba8cd0892077a8646d2978c6b9b2d991/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ba8cd0892077a8646d2978c6b9b2d991/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ba8cd0892077a8646d2978c6b9b2d991/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ba8cd0892077a8646d2978c6b9b2d991/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_0fcf392d26a2f60b450af53374c05471/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0fcf392d26a2f60b450af53374c05471/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:346:10: fatal error: dl.h: No such file or directory 346 | #include | ^~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_337042b9eae4a85d6091fa1f75d18e65/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_337042b9eae4a85d6091fa1f75d18e65/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_337042b9eae4a85d6091fa1f75d18e65/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_337042b9eae4a85d6091fa1f75d18e65/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_67e15839c12e3ce4969f77889def27ea/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_67e15839c12e3ce4969f77889def27ea/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:349:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 349 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_b0ddd96f4125aee170aa9bf944bf5921/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b0ddd96f4125aee170aa9bf944bf5921/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:348:25: error: conflicting types for 'dlopen' 348 | int main(void) { void *dlopen(const char* filename, unsigned int flags); void *_x = (void *)dlopen; return 0; } | ^~~~~~ In file included from ../../test.c:347: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/dlfcn.h:56:14: note: previous declaration of 'dlopen' was here 56 | extern void *dlopen (const char *__file, int __mode) __THROWNL; | ^~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_7b689ca30fadc62d2f21d3700c5a1f5a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7b689ca30fadc62d2f21d3700c5a1f5a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7b689ca30fadc62d2f21d3700c5a1f5a/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7b689ca30fadc62d2f21d3700c5a1f5a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_9ca9abf5f84eca28360178ff31b33505/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9ca9abf5f84eca28360178ff31b33505/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:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 351 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_59004b8c0153d556d75a85d93e01a8f3/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_59004b8c0153d556d75a85d93e01a8f3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_59004b8c0153d556d75a85d93e01a8f3/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_59004b8c0153d556d75a85d93e01a8f3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_bfeb13d0c5d51a259045ab4ddb7c0e6b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bfeb13d0c5d51a259045ab4ddb7c0e6b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_bfeb13d0c5d51a259045ab4ddb7c0e6b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_bfeb13d0c5d51a259045ab4ddb7c0e6b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_024fbbc41b4f5eb09b0f79de97415e5c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_024fbbc41b4f5eb09b0f79de97415e5c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_024fbbc41b4f5eb09b0f79de97415e5c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_024fbbc41b4f5eb09b0f79de97415e5c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_74d1886e3faf41b7cad95e10267deb9b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_74d1886e3faf41b7cad95e10267deb9b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_74d1886e3faf41b7cad95e10267deb9b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_74d1886e3faf41b7cad95e10267deb9b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_0120eeeec42b11ca7c79b3c7ff4fd894/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0120eeeec42b11ca7c79b3c7ff4fd894/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_5bbea6e0fd6e7091a1007ed359dec0b2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5bbea6e0fd6e7091a1007ed359dec0b2/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_b51f0afed12cdcf069af30e6a391bf23/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b51f0afed12cdcf069af30e6a391bf23/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_a27563e349e4c4817a9bfe27903c8e77/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a27563e349e4c4817a9bfe27903c8e77/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_a27563e349e4c4817a9bfe27903c8e77/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a27563e349e4c4817a9bfe27903c8e77/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_e5c5514459cc13380b70a9b1c31a9620/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e5c5514459cc13380b70a9b1c31a9620/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:361:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 361 | int main(void) { void *__x = (void *)res_search; return (int)__x; return 0; } | ^ [2/2] Linking bin/.conf_check_e5c5514459cc13380b70a9b1c31a9620/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e5c5514459cc13380b70a9b1c31a9620/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `__res_search' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_0098fb9cd70f1afbb9db2940625bb2cb/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0098fb9cd70f1afbb9db2940625bb2cb/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0098fb9cd70f1afbb9db2940625bb2cb/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0098fb9cd70f1afbb9db2940625bb2cb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lresolv'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_f6597513cedb1dedabca1e1a318b1828/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f6597513cedb1dedabca1e1a318b1828/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f6597513cedb1dedabca1e1a318b1828/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f6597513cedb1dedabca1e1a318b1828/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lresolv'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_75be86e049735ab2a4524f27fa07ebd2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_75be86e049735ab2a4524f27fa07ebd2/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:362:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 362 | int main(void) { void *__x = (void *)res_search; return (int)__x; return 0; } | ^ [2/2] Linking bin/.conf_check_75be86e049735ab2a4524f27fa07ebd2/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_75be86e049735ab2a4524f27fa07ebd2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lresolv'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_3fe5272eef57e543f58ae6240ae547aa/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3fe5272eef57e543f58ae6240ae547aa/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_03a1d693641bb698df0713c4e7bc297e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_03a1d693641bb698df0713c4e7bc297e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_03a1d693641bb698df0713c4e7bc297e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_03a1d693641bb698df0713c4e7bc297e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lintl'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: cannot find -lintl collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_5fb5c6907ebffe01e0ad2098dff1f2df/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5fb5c6907ebffe01e0ad2098dff1f2df/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_d0c470c22533563f28fb12fbe713222c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d0c470c22533563f28fb12fbe713222c/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_f5977fc7e89242c647f49b47dd09b4cc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f5977fc7e89242c647f49b47dd09b4cc/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:365:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 365 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_a80e1a5c2dc43e2ba08334b14a5f844c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a80e1a5c2dc43e2ba08334b14a5f844c/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:366:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 366 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_be7b6b7f079174752725e4b6c566ec47/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_be7b6b7f079174752725e4b6c566ec47/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:367:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 367 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_ea7af19c110f29b175fa92948ae9659c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ea7af19c110f29b175fa92948ae9659c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ea7af19c110f29b175fa92948ae9659c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ea7af19c110f29b175fa92948ae9659c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_73f98bb09bedae52a97b15d793fecdab/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_73f98bb09bedae52a97b15d793fecdab/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_73f98bb09bedae52a97b15d793fecdab/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_73f98bb09bedae52a97b15d793fecdab/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_8d1e8be37456e93e0a158dae19cb078c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8d1e8be37456e93e0a158dae19cb078c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_8d1e8be37456e93e0a158dae19cb078c/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8d1e8be37456e93e0a158dae19cb078c/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_4bdd2311d5426fafd0b6e3c7273ad82b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4bdd2311d5426fafd0b6e3c7273ad82b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:366:38: warning: conflicting types for built-in function 'dgettext'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch] 366 | extern char dgettext(); | ^~~~~~~~ [2/2] Linking bin/.conf_check_4bdd2311d5426fafd0b6e3c7273ad82b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4bdd2311d5426fafd0b6e3c7273ad82b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_c5a5e65d7ba423da2a322c337979d30b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c5a5e65d7ba423da2a322c337979d30b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:367:38: warning: conflicting types for built-in function 'gettext'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch] 367 | extern char gettext(); | ^~~~~~~ [2/2] Linking bin/.conf_check_c5a5e65d7ba423da2a322c337979d30b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c5a5e65d7ba423da2a322c337979d30b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_4fab927df5e89cf21ceac358fb3988bf/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_4fab927df5e89cf21ceac358fb3988bf/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_c72e7589b32571bee68a93c4fe097a9e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c72e7589b32571bee68a93c4fe097a9e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c72e7589b32571bee68a93c4fe097a9e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c72e7589b32571bee68a93c4fe097a9e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_1049031de70e4f23adbea0dbbf142e33/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1049031de70e4f23adbea0dbbf142e33/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:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 373 | int main(void) { void *__x = (void *)pthread_create; return (int)__x; return 0; } | ^ [2/2] Linking bin/.conf_check_1049031de70e4f23adbea0dbbf142e33/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1049031de70e4f23adbea0dbbf142e33/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `pthread_create' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_f9ed8367618bb8a20d663b5303b2a426/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f9ed8367618bb8a20d663b5303b2a426/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f9ed8367618bb8a20d663b5303b2a426/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f9ed8367618bb8a20d663b5303b2a426/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpthread'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_464467278588fc0a1860c0138b603280/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_464467278588fc0a1860c0138b603280/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_464467278588fc0a1860c0138b603280/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_464467278588fc0a1860c0138b603280/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpthread'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_f405c3820fa9133678bace154b3d85b9/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f405c3820fa9133678bace154b3d85b9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f405c3820fa9133678bace154b3d85b9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f405c3820fa9133678bace154b3d85b9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_f1863f170d99bbfa6f5f173c9122b2b4/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f1863f170d99bbfa6f5f173c9122b2b4/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f1863f170d99bbfa6f5f173c9122b2b4/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f1863f170d99bbfa6f5f173c9122b2b4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `pthread_mutexattr_setrobust' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_c187c249a23eb5ca8040d557f1124334/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c187c249a23eb5ca8040d557f1124334/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:377:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 377 | int main(void) { void *__x = (void *)pthread_mutexattr_setrobust; return (int)__x; return 0; } | ^ [2/2] Linking bin/.conf_check_c187c249a23eb5ca8040d557f1124334/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c187c249a23eb5ca8040d557f1124334/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `pthread_mutexattr_setrobust' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_af63ebc8e55a9a486b46900e19e53138/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_af63ebc8e55a9a486b46900e19e53138/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_af63ebc8e55a9a486b46900e19e53138/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_af63ebc8e55a9a486b46900e19e53138/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpthread'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_e0458aefab4ba58162d0349fb467ff92/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e0458aefab4ba58162d0349fb467ff92/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:379:44: error: lvalue required as unary '&' operand 379 | void *_x; _x=(void *)&PTHREAD_MUTEX_ROBUST; return (int)_x; | ^ ../../test.c:379:74: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 379 | void *_x; _x=(void *)&PTHREAD_MUTEX_ROBUST; return (int)_x; | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_fd3e2504e17b56f0ad23ab196feca48e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fd3e2504e17b56f0ad23ab196feca48e/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_707af10c198020c2f7f5b8dd73be805f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_707af10c198020c2f7f5b8dd73be805f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_707af10c198020c2f7f5b8dd73be805f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_707af10c198020c2f7f5b8dd73be805f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `pthread_mutex_consistent' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_81b04a3729e52443258bbec8aff24687/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_81b04a3729e52443258bbec8aff24687/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:379:72: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 379 | int main(void) { void *__x = (void *)pthread_mutex_consistent; return (int)__x; return 0; } | ^ [2/2] Linking bin/.conf_check_81b04a3729e52443258bbec8aff24687/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_81b04a3729e52443258bbec8aff24687/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `pthread_mutex_consistent' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_e2a0fd0e948071fc6a1726c025c1642e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e2a0fd0e948071fc6a1726c025c1642e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e2a0fd0e948071fc6a1726c025c1642e/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e2a0fd0e948071fc6a1726c025c1642e/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpthread'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_e3dc3f1f8c75cffb539e6bcc06f2f267/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e3dc3f1f8c75cffb539e6bcc06f2f267/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_e3dc3f1f8c75cffb539e6bcc06f2f267/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e3dc3f1f8c75cffb539e6bcc06f2f267/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_d9549349a700b15facc63e955bc4d8d2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d9549349a700b15facc63e955bc4d8d2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d9549349a700b15facc63e955bc4d8d2/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d9549349a700b15facc63e955bc4d8d2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_f056b813982661756a0f1247f07f6532/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f056b813982661756a0f1247f07f6532/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:381:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 381 | int main(void) { void *__x = (void *)crypt; return (int)__x; return 0; } | ^ [2/2] Linking bin/.conf_check_f056b813982661756a0f1247f07f6532/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f056b813982661756a0f1247f07f6532/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x0): undefined reference to `crypt' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_84dc0c4656185d86b1da76b33900d6cd/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_84dc0c4656185d86b1da76b33900d6cd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_84dc0c4656185d86b1da76b33900d6cd/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_84dc0c4656185d86b1da76b33900d6cd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lcrypt'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_76b125582c4253c3ba5178dc82ab31d5/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_76b125582c4253c3ba5178dc82ab31d5/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_76b125582c4253c3ba5178dc82ab31d5/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_76b125582c4253c3ba5178dc82ab31d5/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lcrypt'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_fcd1deceb6eb82d2ae5cbd171796ede0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fcd1deceb6eb82d2ae5cbd171796ede0/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_fcd1deceb6eb82d2ae5cbd171796ede0/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fcd1deceb6eb82d2ae5cbd171796ede0/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.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-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_f2be38bcd32a710abe16069b638abb27/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f2be38bcd32a710abe16069b638abb27/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:383:39: error: 'crypt_r' undeclared (first use in this function); did you mean 'crypt'? 383 | int main(void) { void *__x = (void *)crypt_r; return (int)__x; return 0; } | ^~~~~~~ | crypt ../../test.c:383:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:383:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 383 | int main(void) { void *__x = (void *)crypt_r; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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_930a67fc27feb81518a836677504dd32/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_930a67fc27feb81518a836677504dd32/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_930a67fc27feb81518a836677504dd32/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_930a67fc27feb81518a836677504dd32/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lcrypt'] ok --------------------------------------------------------------------------------- Checking for crypt_rn ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 crypt_rn __fake__crypt_rn #ifdef HAVE_LIMITS_H # include #else # include #endif #undef crypt_rn #if defined __stub_crypt_rn || defined __stub___crypt_rn #error "bad glibc stub" #endif extern char crypt_rn(); int main() { return crypt_rn(); } <== [1/2] Compiling bin/.conf_check_b1539e745f6beb4e6c50d1aaf27a9304/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b1539e745f6beb4e6c50d1aaf27a9304/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_b1539e745f6beb4e6c50d1aaf27a9304/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b1539e745f6beb4e6c50d1aaf27a9304/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `crypt_rn' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)crypt_rn; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_a476de7fa61e7fec2f794d2e5033b71e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a476de7fa61e7fec2f794d2e5033b71e/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:39: error: 'crypt_rn' undeclared (first use in this function); did you mean 'crypt'? 384 | int main(void) { void *__x = (void *)crypt_rn; return (int)__x; return 0; } | ^~~~~~~~ | crypt ../../test.c:384:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:384:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 384 | int main(void) { void *__x = (void *)crypt_rn; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- Checking for crypt_rn 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #define crypt_rn __fake__crypt_rn #ifdef HAVE_LIMITS_H # include #else # include #endif #undef crypt_rn #if defined __stub_crypt_rn || defined __stub___crypt_rn #error "bad glibc stub" #endif extern char crypt_rn(); int main() { return crypt_rn(); } <== [1/2] Compiling bin/.conf_check_7b0b1c558eec3674eda453b5aad6d573/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7b0b1c558eec3674eda453b5aad6d573/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7b0b1c558eec3674eda453b5aad6d573/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7b0b1c558eec3674eda453b5aad6d573/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lcrypt'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `crypt_rn' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)crypt_rn; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_01d1772251dece9085ca11ac9c3e6936/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_01d1772251dece9085ca11ac9c3e6936/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:39: error: 'crypt_rn' undeclared (first use in this function); did you mean 'crypt'? 384 | int main(void) { void *__x = (void *)crypt_rn; return (int)__x; return 0; } | ^~~~~~~~ | crypt ../../test.c:384:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:384:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 384 | int main(void) { void *__x = (void *)crypt_rn; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_e0fc42c1e6814979d3ca56b6f6d260ee/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e0fc42c1e6814979d3ca56b6f6d260ee/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:384:10: fatal error: readline.h: No such file or directory 384 | #include | ^~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_c6d0a5fe8490eb64099e516a613a3e06/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c6d0a5fe8490eb64099e516a613a3e06/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_a1b77ed58ef939723c6ffb5b2ed43dc4/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a1b77ed58ef939723c6ffb5b2ed43dc4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_9d51ac7e95870224fe960dcd38c80f94/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9d51ac7e95870224fe960dcd38c80f94/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:67: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 390 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_d6f7b71f9c96fafdad2270a9f2f2cb27/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d6f7b71f9c96fafdad2270a9f2f2cb27/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:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 390 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_8eebb2b9390dd8bd0a63133653902e26/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8eebb2b9390dd8bd0a63133653902e26/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:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 390 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_80e53ac565be5d2e439131dc918d953b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_80e53ac565be5d2e439131dc918d953b/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:391:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 391 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_0351b306b7d07fccd2b2deaa35951b97/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0351b306b7d07fccd2b2deaa35951b97/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:392:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 392 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_47ed4aa0f6fb4d76c5d61371def63d55/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_47ed4aa0f6fb4d76c5d61371def63d55/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:393:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 393 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_135b9d8a1906065ff807746e7f345d93/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_135b9d8a1906065ff807746e7f345d93/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_0d2b7eae9b5dab7c71d68d15b72cb5a2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0d2b7eae9b5dab7c71d68d15b72cb5a2/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_6345e3671bf4aed4b65da1cb83807f42/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6345e3671bf4aed4b65da1cb83807f42/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:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 397 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_d2ff2cdbf29005c8022f1a505d025481/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d2ff2cdbf29005c8022f1a505d025481/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:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 399 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_27d32ea3d88e7972d913927a0a566899/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_27d32ea3d88e7972d913927a0a566899/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:400:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 400 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_450d0e8fa6d133c1d0b8468dbe468030/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_450d0e8fa6d133c1d0b8468dbe468030/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:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 399 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_c4bd07d10c1884bbfacb48075479cefd/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c4bd07d10c1884bbfacb48075479cefd/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:400:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 400 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_a3131794e73875c4647b4dca72ba42d0/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a3131794e73875c4647b4dca72ba42d0/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:401:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 401 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_7a34efe4bd00d6021bb33c78d0b23431/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7a34efe4bd00d6021bb33c78d0b23431/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:402:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 402 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_5ab616df26ff4ffcf76d94168f5bd903/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5ab616df26ff4ffcf76d94168f5bd903/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:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 403 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_acad21055da79c4c436644217042350e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_acad21055da79c4c436644217042350e/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_d9e053bcaf1172ed617a836bfeee9dcd/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d9e053bcaf1172ed617a836bfeee9dcd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d9e053bcaf1172ed617a836bfeee9dcd/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d9e053bcaf1172ed617a836bfeee9dcd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_3aa47f5494eb46be4331f01f2ec6e70d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3aa47f5494eb46be4331f01f2ec6e70d/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_2cd3b8f4279a83d2f140fdbb00e8ff8a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2cd3b8f4279a83d2f140fdbb00e8ff8a/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2cd3b8f4279a83d2f140fdbb00e8ff8a/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2cd3b8f4279a83d2f140fdbb00e8ff8a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_c718a1c64c80e54d37df9d2a5ccca35b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c718a1c64c80e54d37df9d2a5ccca35b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c718a1c64c80e54d37df9d2a5ccca35b/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c718a1c64c80e54d37df9d2a5ccca35b/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_565cfb086ba28be0c35ff9e62005539e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_565cfb086ba28be0c35ff9e62005539e/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:411:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 411 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_3225bf33eceda806c8fc26eec840d3cc/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3225bf33eceda806c8fc26eec840d3cc/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_3225bf33eceda806c8fc26eec840d3cc/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3225bf33eceda806c8fc26eec840d3cc/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_3225bf33eceda806c8fc26eec840d3cc/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3225bf33eceda806c8fc26eec840d3cc/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_fc3c4c44930b81625cf4cf02a5dd2594/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fc3c4c44930b81625cf4cf02a5dd2594/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:413:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 413 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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_8fa055a328dace2a86e4d8ae7fe5f28d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_8fa055a328dace2a86e4d8ae7fe5f28d/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:412:23: error: conflicting types for 'gettimeofday' 412 | int main(void) { int gettimeofday(struct timeval *tv, struct timezone *tz); void *_x = (void *)gettimeofday; return 0; } | ^~~~~~~~~~~~ In file included from ../../test.c:411: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/sys/time.h:66:12: note: previous declaration of 'gettimeofday' was here 66 | extern int gettimeofday (struct timeval *__restrict __tv, | ^~~~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/replace: The configuration failed not found --------------------------------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #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_ded6beac6b7b7933a032960ce5195a9e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ded6beac6b7b7933a032960ce5195a9e/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] ok --------------------------------------------------------------------------------- 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "tests/snprintf.c" <== [1/3] Compiling bin/.conf_check_e2828f92e329ebff46ea757d0d754b84/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e2828f92e329ebff46ea757d0d754b84/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from ../../test.c:413: /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/tests/snprintf.c: In function 'foo': /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/tests/snprintf.c:23:37: warning: unknown escape sequence: '\$' 23 | if (snprintf(buf, 20, "%2\$d %1\$d", 3, 4) != 3 || strcmp(buf, "4 3") != 0) exit(6); | ^ /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/tests/snprintf.c:23:37: warning: unknown escape sequence: '\$' [2/3] Linking bin/.conf_check_e2828f92e329ebff46ea757d0d754b84/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e2828f92e329ebff46ea757d0d754b84/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_e2828f92e329ebff46ea757d0d754b84/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e2828f92e329ebff46ea757d0d754b84/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #include "tests/shared_mmap.c" <== [1/3] Compiling bin/.conf_check_03671d893103d3e5f1c6b1859954c674/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_03671d893103d3e5f1c6b1859954c674/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from ../../test.c:401: /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/tests/shared_mmap.c: In function 'main': /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/tests/shared_mmap.c:31:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 31 | write(fd,&i,sizeof(i)); | ^~~~~~~~~~~~~~~~~~~~~~ [2/3] Linking bin/.conf_check_03671d893103d3e5f1c6b1859954c674/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_03671d893103d3e5f1c6b1859954c674/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_03671d893103d3e5f1c6b1859954c674/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_03671d893103d3e5f1c6b1859954c674/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #define HAVE_C99_VSNPRINTF 1 #define HAVE_SHARED_MMAP 1 #include "tests/shared_mremap.c" <== [1/3] Compiling bin/.conf_check_13679616a840ce472824c4669d8d7e20/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_13679616a840ce472824c4669d8d7e20/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_13679616a840ce472824c4669d8d7e20/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_13679616a840ce472824c4669d8d7e20/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_13679616a840ce472824c4669d8d7e20/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_13679616a840ce472824c4669d8d7e20/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_cfdf1cd10e37a4f651fd6cf3cbcdae3d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_cfdf1cd10e37a4f651fd6cf3cbcdae3d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: In file included from ../../test.c:403: /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/tests/incoherent_mmap.c: In function 'main': /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/tests/incoherent_mmap.c:48:3: warning: ignoring return value of 'pwrite' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | pwrite(fd, &c, 1, 0); | ^~~~~~~~~~~~~~~~~~~~ [2/3] Linking bin/.conf_check_cfdf1cd10e37a4f651fd6cf3cbcdae3d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_cfdf1cd10e37a4f651fd6cf3cbcdae3d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_cfdf1cd10e37a4f651fd6cf3cbcdae3d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_cfdf1cd10e37a4f651fd6cf3cbcdae3d/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/cache.txt', 'Checking for HAVE_INCOHERENT_MMAP'] from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_3eb31bee8008fa8c58f8429094eb7ea2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3eb31bee8008fa8c58f8429094eb7ea2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3eb31bee8008fa8c58f8429094eb7ea2/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3eb31bee8008fa8c58f8429094eb7ea2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_ead8b7ab905a1635288ee29affc7e701/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ead8b7ab905a1635288ee29affc7e701/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ead8b7ab905a1635288ee29affc7e701/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ead8b7ab905a1635288ee29affc7e701/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_rdev; return 0; } <== [1/1] Compiling bin/.conf_check_cf22d65cf183a19e8912fcb289bd19bd/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_cf22d65cf183a19e8912fcb289bd19bd/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_9ef4adc2b43a315e8dc6d0212052b328/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9ef4adc2b43a315e8dc6d0212052b328/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_a6ec98eef232f35446f12fe6367eac8a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_a6ec98eef232f35446f12fe6367eac8a/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_494b6ee71f21d00a5e87eaab428eb475/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_494b6ee71f21d00a5e87eaab428eb475/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:424:70: error: 'struct sockaddr_storage' has no member named '__ss_family'; did you mean 'ss_family'? 424 | int main(void) { struct sockaddr_storage s; void *_x; _x=(void *)&s.__ss_family; return 0; } | ^~~~~~~~~~~ | ss_family from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_ef9aeb600b58575fc462edd61a4edfb6/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ef9aeb600b58575fc462edd61a4edfb6/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:425:61: error: 'struct sockaddr' has no member named 'sa_len' 425 | int main(void) { struct sockaddr s; void *_x; _x=(void *)&s.sa_len; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_05a23ece5a2715dd5583b7bfa72d98b1/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_05a23ece5a2715dd5583b7bfa72d98b1/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:426:64: error: 'struct sockaddr_in' has no member named 'sin_len' 426 | int main(void) { struct sockaddr_in s; void *_x; _x=(void *)&s.sin_len; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_964dd3ae98a0612f4cffef7509e5e918/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_964dd3ae98a0612f4cffef7509e5e918/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:427:65: error: 'struct sockaddr_in6' has no member named 'sin6_len' 427 | int main(void) { struct sockaddr_in6 s; void *_x; _x=(void *)&s.sin6_len; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_f515d799829c89f5ec105fe54188e420/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f515d799829c89f5ec105fe54188e420/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f515d799829c89f5ec105fe54188e420/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f515d799829c89f5ec105fe54188e420/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_c54cde5114379e7adfb9f5360316b996/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c54cde5114379e7adfb9f5360316b996/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_c54cde5114379e7adfb9f5360316b996/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c54cde5114379e7adfb9f5360316b996/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] [3/3] Processing bin/.conf_check_c54cde5114379e7adfb9f5360316b996/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c54cde5114379e7adfb9f5360316b996/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_fea25b0e503c47909509d47c3e126a36/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_fea25b0e503c47909509d47c3e126a36/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-2/output-1/build/samba4-4.14.4/lib/replace/replace.c:26, from ../../test.c:432: /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required 45 | #error -D__STDC_WANT_LIB_EXT1__=1 required | ^~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_6c1c1fc84441afdcf1d9c45c8ee742b8/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_6c1c1fc84441afdcf1d9c45c8ee742b8/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-2/output-1/build/samba4-4.14.4/lib/replace/replace.c:26, from ../../test.c:433: /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required 45 | #error -D__STDC_WANT_LIB_EXT1__=1 required | ^~~~~ In file included from ../../test.c:436: /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/getifaddrs.c: In function 'rep_getifaddrs': /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/getifaddrs.c:318:22: error: 'struct sockaddr' has no member named 'sa_len' 318 | inc = ifr->ifr_addr.sa_len; | ^ /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/getifaddrs.c:321:17: warning: passing argument 1 of 'freeaddrinfo' from incompatible pointer type [-Wincompatible-pointer-types] 321 | freeaddrinfo(*ifap); | ^~~~~ | | | struct ifaddrs * In file included from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/system/network.h:54, from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/replace.c:30, from ../../test.c:433: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:666:44: note: expected 'struct addrinfo *' but argument is of type 'struct ifaddrs *' 666 | extern void freeaddrinfo (struct addrinfo *__ai) __THROW; | ~~~~~~~~~~~~~~~~~^~~~ In file included from ../../test.c:436: /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/getifaddrs.c:340:17: warning: passing argument 1 of 'freeaddrinfo' from incompatible pointer type [-Wincompatible-pointer-types] 340 | freeaddrinfo(*ifap); | ^~~~~ | | | struct ifaddrs * In file included from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/system/network.h:54, from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/replace.c:30, from ../../test.c:433: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:666:44: note: expected 'struct addrinfo *' but argument is of type 'struct ifaddrs *' 666 | extern void freeaddrinfo (struct addrinfo *__ai) __THROW; | ~~~~~~~~~~~~~~~~~^~~~ In file included from ../../test.c:436: /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/getifaddrs.c:347:17: warning: passing argument 1 of 'freeaddrinfo' from incompatible pointer type [-Wincompatible-pointer-types] 347 | freeaddrinfo(*ifap); | ^~~~~ | | | struct ifaddrs * In file included from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/system/network.h:54, from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/replace.c:30, from ../../test.c:433: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/netdb.h:666:44: note: expected 'struct addrinfo *' but argument is of type 'struct ifaddrs *' 666 | extern void freeaddrinfo (struct addrinfo *__ai) __THROW; | ~~~~~~~~~~~~~~~~~^~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_5620277f1047a8120a7d886fa20cf92a/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_5620277f1047a8120a7d886fa20cf92a/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-2/output-1/build/samba4-4.14.4/lib/replace/replace.c:26, from ../../test.c:434: /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required 45 | #error -D__STDC_WANT_LIB_EXT1__=1 required | ^~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_026b3f6cca6761ddd5145b80844e250f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_026b3f6cca6761ddd5145b80844e250f/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-2/output-1/build/samba4-4.14.4/lib/replace/replace.c:26, from ../../test.c:435: /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/replace.h:45:2: error: #error -D__STDC_WANT_LIB_EXT1__=1 required 45 | #error -D__STDC_WANT_LIB_EXT1__=1 required | ^~~~~ In file included from ../../test.c:438: /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/getifaddrs.c:181:10: fatal error: sys/stropts.h: No such file or directory 181 | #include | ^~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_e0fec41a79a8898eef0849413502a80e/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e0fec41a79a8898eef0849413502a80e/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:435:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 435 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_ee01261ae8ef13ae59a300f2cf36d165/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ee01261ae8ef13ae59a300f2cf36d165/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:34: error: conflicting types for 'getpwent_r' 434 | 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:433: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/pwd.h:139:12: note: previous declaration of 'getpwent_r' was here 139 | extern int getpwent_r (struct passwd *__restrict __resultbuf, | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/system: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_3c5a4ab02ac31886de3c50cbfc993389/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3c5a4ab02ac31886de3c50cbfc993389/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:437:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 437 | 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_9e8c2e1d59dac8eda8886fd8c3902d62/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_9e8c2e1d59dac8eda8886fd8c3902d62/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:436:33: error: conflicting types for 'getgrent_r' 436 | 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:435: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/grp.h:131:12: note: previous declaration of 'getgrent_r' was here 131 | extern int getgrent_r (struct group *__restrict __resultbuf, | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/system: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_b1fc5239b8d2dccc09e73d7e1eef02ce/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b1fc5239b8d2dccc09e73d7e1eef02ce/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:437:34: error: conflicting types for 'getpwent_r' 437 | 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:436: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/pwd.h:139:12: note: previous declaration of 'getpwent_r' was here 139 | extern int getpwent_r (struct passwd *__restrict __resultbuf, | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/system: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_85491982ee49b7d7693e0d0dcb95f5d9/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_85491982ee49b7d7693e0d0dcb95f5d9/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:437:33: error: conflicting types for 'getgrent_r' 437 | 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:436: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/grp.h:131:12: note: previous declaration of 'getgrent_r' was here 131 | extern int getgrent_r (struct group *__restrict __resultbuf, | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace/system: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_7348c03b3f501ff4602438fed04a4432/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7348c03b3f501ff4602438fed04a4432/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:437:5: error: conflicting types for 'strerror_r' 437 | int strerror_r(int errnum, char *buf, size_t buflen); | ^~~~~~~~~~ In file included from /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/memory.h:29, from ../../test.c:427: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/string.h:421:14: note: previous declaration of 'strerror_r' was here 421 | extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) | ^~~~~~~~~~ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/replace: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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_aaa65ef44773f03b3b1614004af4ce0c/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/examples/fuse', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_aaa65ef44773f03b3b1614004af4ce0c/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] err: ../../test.c:440:33: fatal error: fuse/fuse_lowlevel.h: No such file or directory 440 | #include "fuse/fuse_lowlevel.h" | ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/examples/fuse: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/examples/fuse: The configuration failed not found --------------------------------------------------------------------------------- Checking for program 'i386-mingw32-gcc' not found find program=['i386-mingw32-gcc'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN32' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN64' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN64' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN64' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN64' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN64' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='WINEXE_CC_WIN64' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/examples/winexe: Could not find the program ['amd64-w64-mingw32-gcc'] --------------------------------------------------------------------------------- Checking for program 'perl' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/perl find program=['perl'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PERL' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/perl'] --------------------------------------------------------------------------------- Checking for program 'perl' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/perl find program=['perl'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PERL' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/perl'] --------------------------------------------------------------------------------- Checking for minimum perl version 5.0.0 find program=['perl'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PERL' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/perl'] ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/perl', '-e', 'printf "%vd", $^V'] out: 5.32.1 5.32.1 --------------------------------------------------------------------------------- Checking for perl $Config{vendorprefix}: not found --------------------------------------------------------------------------------- PERL_ARCH_INSTALL_DIR: '${LIBDIR}/perl5' --------------------------------------------------------------------------------- PERL_LIB_INSTALL_DIR: '${DATADIR}/perl5' --------------------------------------------------------------------------------- PERL_INC: ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/lib/perl', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/host-perl/host/lib/site_perl/5.32.1/x86_64-linux', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/host-perl/host/lib/site_perl/5.32.1', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/host-perl/host/lib/5.32.1/x86_64-linux', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/host-perl/host/lib/5.32.1'] --------------------------------------------------------------------------------- Checking for program 'xsltproc' false find program=['xsltproc'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/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-2/output-1/per-package/samba4/host/bin/python3 find program=['python3'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] --------------------------------------------------------------------------------- Checking for program 'python' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3', '-c', 'import sys\ntry:\n print(sys.implementation.cache_tag)\nexcept AttributeError:\n import imp\n print(imp.get_tag())\n'] out: cpython-39 --------------------------------------------------------------------------------- Checking for program 'python3' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python3'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON3' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3', '-c', 'import sys\nfor x in sys.version_info: print(str(x))'] out: 3 9 6 final 0 ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(standard_lib=0, prefix='/usr') or ''))"] out: '/usr/lib/python3.9/site-packages' '/usr/lib/python3.9/site-packages' ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(plat_specific=1, standard_lib=0, prefix='/usr') or ''))"] out: '/usr/lib/python3.9/site-packages' '/usr/lib/python3.9/site-packages' --------------------------------------------------------------------------------- Checking for python version >= 3.6.0 3.9.6 --------------------------------------------------------------------------------- python headers Check disabled due to --disable-python --------------------------------------------------------------------------------- Dynconfig[BINDIR]: '/usr/bin' --------------------------------------------------------------------------------- Dynconfig[SBINDIR]: '/usr/sbin' --------------------------------------------------------------------------------- Dynconfig[LIBDIR]: '/usr/lib' --------------------------------------------------------------------------------- Dynconfig[LIBEXECDIR]: '/usr/libexec' --------------------------------------------------------------------------------- Dynconfig[DATADIR]: '/usr/share' --------------------------------------------------------------------------------- Dynconfig[SAMBA_DATADIR]: '/usr/share/samba' --------------------------------------------------------------------------------- Dynconfig[LOCALEDIR]: '/usr/share/locale' --------------------------------------------------------------------------------- Dynconfig[PYTHONDIR]: '/usr/lib/python3.9/site-packages' --------------------------------------------------------------------------------- Dynconfig[PYTHONARCHDIR]: '/usr/lib/python3.9/site-packages' --------------------------------------------------------------------------------- Dynconfig[PERL_LIB_INSTALL_DIR]: '/usr/share/perl5' --------------------------------------------------------------------------------- Dynconfig[PERL_ARCH_INSTALL_DIR]: '/usr/lib/perl5' --------------------------------------------------------------------------------- Dynconfig[INCLUDEDIR]: '/usr/include/samba-4.0' --------------------------------------------------------------------------------- Dynconfig[SCRIPTSBINDIR]: '/usr/sbin' --------------------------------------------------------------------------------- Dynconfig[SETUPDIR]: '/usr/share/samba/setup' --------------------------------------------------------------------------------- Dynconfig[PKGCONFIGDIR]: '/usr/lib/pkgconfig' --------------------------------------------------------------------------------- Dynconfig[CODEPAGEDIR]: '/usr/share/samba/codepages' --------------------------------------------------------------------------------- Dynconfig[PRIVATELIBDIR]: '/usr/lib/samba' --------------------------------------------------------------------------------- Dynconfig[MODULESDIR]: '/usr/lib/samba' --------------------------------------------------------------------------------- Dynconfig[PAMMODULESDIR]: '/usr/lib/security' --------------------------------------------------------------------------------- Dynconfig[CONFIGDIR]: '/etc/samba' --------------------------------------------------------------------------------- Dynconfig[PRIVATE_DIR]: '/var/lib/samba/private' --------------------------------------------------------------------------------- Dynconfig[BINDDNS_DIR]: '/var/lib/samba/bind-dns' --------------------------------------------------------------------------------- Dynconfig[LOCKDIR]: '/var/lock/samba' --------------------------------------------------------------------------------- Dynconfig[PIDDIR]: '/var/run/samba' --------------------------------------------------------------------------------- Dynconfig[STATEDIR]: '/var/lib/samba' --------------------------------------------------------------------------------- Dynconfig[CACHEDIR]: '/var/cache/samba' --------------------------------------------------------------------------------- Dynconfig[LOGFILEBASE]: '/var/log/samba' --------------------------------------------------------------------------------- Dynconfig[SOCKET_DIR]: '/var/run/samba' --------------------------------------------------------------------------------- Dynconfig[PRIVILEGED_SOCKET_DIR]: '/var/lib/samba' --------------------------------------------------------------------------------- Dynconfig[WINBINDD_SOCKET_DIR]: '/var/run/samba/winbindd' --------------------------------------------------------------------------------- Dynconfig[NMBDSOCKETDIR]: '/var/run/samba/nmbd' --------------------------------------------------------------------------------- Dynconfig[NTP_SIGND_SOCKET_DIR]: '/var/lib/samba/ntp_signd' --------------------------------------------------------------------------------- Dynconfig[NCALRPCDIR]: '/var/run/samba/ncalrpc' --------------------------------------------------------------------------------- Dynconfig[CONFIGFILE]: '/etc/samba/smb.conf' --------------------------------------------------------------------------------- Dynconfig[LMHOSTSFILE]: '/etc/samba/lmhosts' --------------------------------------------------------------------------------- Dynconfig[SMB_PASSWD_FILE]: '/var/lib/samba/private/smbpasswd' --------------------------------------------------------------------------------- Checking for 'zlib' ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/pkg-config', '--cflags', '--libs', 'zlib'] out: -L/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lz yes --------------------------------------------------------------------------------- Checking for library z ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_1ac016b9f378d12e1efbf10db2ba5b14/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1ac016b9f378d12e1efbf10db2ba5b14/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_1ac016b9f378d12e1efbf10db2ba5b14/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1ac016b9f378d12e1efbf10db2ba5b14/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lz'] yes --------------------------------------------------------------------------------- Checking for inflateInit2 in z ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 #define inflateInit2 __fake__inflateInit2 #ifdef HAVE_LIMITS_H # include #else # include #endif #undef inflateInit2 #if defined __stub_inflateInit2 || defined __stub___inflateInit2 #error "bad glibc stub" #endif extern char inflateInit2(); int main() { return inflateInit2(); } <== [1/2] Compiling bin/.conf_check_c72e029f6ccfce0787b3cb9ed9c06e3d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c72e029f6ccfce0787b3cb9ed9c06e3d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_c72e029f6ccfce0787b3cb9ed9c06e3d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_c72e029f6ccfce0787b3cb9ed9c06e3d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lz'] err: /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/10.2.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: test.c.1.o: in function `main': test.c:(.text.startup+0x8): undefined reference to `inflateInit2' collect2: error: ld returned 1 exit status from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4: 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-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { void *__x = (void *)inflateInit2; return (int)__x; return 0; } <== [1/2] Compiling bin/.conf_check_61da891beff70fa1d2c075d3792fc807/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_61da891beff70fa1d2c075d3792fc807/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:39: error: 'inflateInit2' undeclared (first use in this function) 444 | int main(void) { void *__x = (void *)inflateInit2; return (int)__x; return 0; } | ^~~~~~~~~~~~ ../../test.c:444:39: note: each undeclared identifier is reported only once for each function it appears in ../../test.c:444:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 444 | int main(void) { void *__x = (void *)inflateInit2; return (int)__x; return 0; } | ^ from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4: The configuration failed not found --------------------------------------------------------------------------------- Checking for longjmp ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define longjmp __fake__longjmp #ifdef HAVE_LIMITS_H # include #else # include #endif #undef longjmp #if defined __stub_longjmp || defined __stub___longjmp #error "bad glibc stub" #endif extern char longjmp(); int main() { return longjmp(); } <== [1/2] Compiling bin/.conf_check_f9db2fbd1065135d558f56801aeaf5fe/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f9db2fbd1065135d558f56801aeaf5fe/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_f9db2fbd1065135d558f56801aeaf5fe/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_f9db2fbd1065135d558f56801aeaf5fe/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] ok --------------------------------------------------------------------------------- Checking for siglongjmp ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define siglongjmp __fake__siglongjmp #ifdef HAVE_LIMITS_H # include #else # include #endif #undef siglongjmp #if defined __stub_siglongjmp || defined __stub___siglongjmp #error "bad glibc stub" #endif extern char siglongjmp(); int main() { return siglongjmp(); } <== [1/2] Compiling bin/.conf_check_2c9708e3806f42f36687df5426cc87c7/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2c9708e3806f42f36687df5426cc87c7/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2c9708e3806f42f36687df5426cc87c7/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2c9708e3806f42f36687df5426cc87c7/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] ok --------------------------------------------------------------------------------- Checking for system cmocka (>=1.1.3) ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/pkg-config', 'cmocka >= 1.1.3', '--cflags', '--libs', 'cmocka'] out: -L/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lcmocka yes --------------------------------------------------------------------------------- Checking for system popt ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/pkg-config', 'popt >= 0.0.0', '--cflags', '--libs', 'popt'] out: -L/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/../riscv64-buildroot-linux-gnu/sysroot/usr/lib -lpopt yes --------------------------------------------------------------------------------- Checking for header popt.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 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_1a5d2b9f3445613ec43f639cff05203b/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1a5d2b9f3445613ec43f639cff05203b/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes --------------------------------------------------------------------------------- Checking for library popt ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 int main(int argc, char **argv) { (void)argc; (void)argv; return 0; } <== [1/2] Compiling bin/.conf_check_ec54ad8b5dbc33f18a3faa4969ac43ff/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ec54ad8b5dbc33f18a3faa4969ac43ff/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ec54ad8b5dbc33f18a3faa4969ac43ff/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ec54ad8b5dbc33f18a3faa4969ac43ff/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpopt', '-lpopt'] yes --------------------------------------------------------------------------------- Checking for poptGetContext in popt ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define poptGetContext __fake__poptGetContext #ifdef HAVE_LIMITS_H # include #else # include #endif #undef poptGetContext #if defined __stub_poptGetContext || defined __stub___poptGetContext #error "bad glibc stub" #endif extern char poptGetContext(); int main() { return poptGetContext(); } <== [1/2] Compiling bin/.conf_check_2a167efe5f0908c88a32bfe43a58c4cd/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2a167efe5f0908c88a32bfe43a58c4cd/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_2a167efe5f0908c88a32bfe43a58c4cd/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2a167efe5f0908c88a32bfe43a58c4cd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpopt'] ok --------------------------------------------------------------------------------- Checking for system tdb (>=1.4.3) ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/pkg-config', 'tdb >= 1.4.3', '--cflags', '--libs', 'tdb'] err: Package tdb was not found in the pkg-config search path. Perhaps you should add the directory containing `tdb.pc' to the PKG_CONFIG_PATH environment variable Package 'tdb', required by 'virtual:world', not found Package 'tdb', required by 'virtual:world', not found not found from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/tdb: The configuration failed ----------------------------------------------------------------------------------------------- Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl not found ----------------------------------------------------------------------------------------------- Checking for program 'python3' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python3'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ----------------------------------------------------------------------------------------------- Checking for program 'python' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3', '-c', 'import sys\ntry:\n print(sys.implementation.cache_tag)\nexcept AttributeError:\n import imp\n print(imp.get_tag())\n'] out: cpython-39 ----------------------------------------------------------------------------------------------- Checking for program 'python3' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python3'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON3' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3', '-c', 'import sys\nfor x in sys.version_info: print(str(x))'] out: 3 9 6 final 0 ----------------------------------------------------------------------------------------------- Checking for python version >= 3.6.0 3.9.6 ----------------------------------------------------------------------------------------------- python headers Check disabled due to --disable-python ----------------------------------------------------------------------------------------------- Checking linker accepts -Wl,-no-undefined ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_3e30da321292855adfe0d9e7eedd492f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3e30da321292855adfe0d9e7eedd492f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_3e30da321292855adfe0d9e7eedd492f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_3e30da321292855adfe0d9e7eedd492f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-no-undefined'] yes ----------------------------------------------------------------------------------------------- Checking linker accepts ['-undefined', 'dynamic_lookup'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_25c20b87cc8a9cd82ff2b7a3bf999294/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_25c20b87cc8a9cd82ff2b7a3bf999294/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_25c20b87cc8a9cd82ff2b7a3bf999294/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_25c20b87cc8a9cd82ff2b7a3bf999294/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-undefined', 'dynamic_lookup'] err: riscv64-linux-gcc.br_real: error: dynamic_lookup: No such file or directory from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/tdb: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/tdb: The configuration failed ----------------------------------------------------------------------------------------------- Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl not found ----------------------------------------------------------------------------------------------- Checking for header sys/auxv.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #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_89a05e0f40e7112994a3f4b886f82c2f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_89a05e0f40e7112994a3f4b886f82c2f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] yes ----------------------------------------------------------------------------------------------- Checking for getauxval ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define getauxval __fake__getauxval #ifdef HAVE_LIMITS_H # include #else # include #endif #undef getauxval #if defined __stub_getauxval || defined __stub___getauxval #error "bad glibc stub" #endif extern char getauxval(); int main() { return getauxval(); } <== [1/2] Compiling bin/.conf_check_aca7c8286829e60fd48f39d4e67786f3/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_aca7c8286829e60fd48f39d4e67786f3/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_aca7c8286829e60fd48f39d4e67786f3/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_aca7c8286829e60fd48f39d4e67786f3/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-no-undefined'] ok ----------------------------------------------------------------------------------------------- Checking linker accepts -Wl,-no-undefined ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define HAVE_GETAUXVAL 1 int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_381c937188cba328a73d199f617d0977/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_381c937188cba328a73d199f617d0977/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_381c937188cba328a73d199f617d0977/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_381c937188cba328a73d199f617d0977/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-no-undefined'] yes ----------------------------------------------------------------------------------------------- Checking linker accepts ['-undefined', 'dynamic_lookup'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define HAVE_GETAUXVAL 1 int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_7e141ea319eca0f39461d65945032d16/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7e141ea319eca0f39461d65945032d16/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_7e141ea319eca0f39461d65945032d16/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_7e141ea319eca0f39461d65945032d16/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-undefined', 'dynamic_lookup'] err: riscv64-linux-gcc.br_real: error: dynamic_lookup: No such file or directory from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/talloc: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/talloc: The configuration failed ----------------------------------------------------------------------------------------------- Checking for program 'python3' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python3'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ----------------------------------------------------------------------------------------------- Checking for program 'python' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3', '-c', 'import sys\ntry:\n print(sys.implementation.cache_tag)\nexcept AttributeError:\n import imp\n print(imp.get_tag())\n'] out: cpython-39 ----------------------------------------------------------------------------------------------- Checking for program 'python3' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python3'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON3' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3', '-c', 'import sys\nfor x in sys.version_info: print(str(x))'] out: 3 9 6 final 0 ----------------------------------------------------------------------------------------------- Checking for python version >= 3.6.0 3.9.6 ----------------------------------------------------------------------------------------------- python headers Check disabled due to --disable-python ----------------------------------------------------------------------------------------------- Checking for system talloc (>=2.3.2) ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/pkg-config', 'talloc >= 2.3.2', '--cflags', '--libs', 'talloc'] err: Package talloc was not found in the pkg-config search path. Perhaps you should add the directory containing `talloc.pc' to the PKG_CONFIG_PATH environment variable Package 'talloc', required by 'virtual:world', not found Package 'talloc', required by 'virtual:world', not found not found from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/talloc: The configuration failed ----------------------------------------------------------------------------------------------- Checking for epoll_create ok ----------------------------------------------------------------------------------------------- Checking value of NSIG ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define HAVE_GETAUXVAL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { printf("%u", (unsigned)(NSIG)); return 0; } <== [1/3] Compiling bin/.conf_check_e0a2ce17204850a7d8148ebdce22fafa/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e0a2ce17204850a7d8148ebdce22fafa/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_e0a2ce17204850a7d8148ebdce22fafa/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e0a2ce17204850a7d8148ebdce22fafa/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-no-undefined'] [3/3] Processing bin/.conf_check_e0a2ce17204850a7d8148ebdce22fafa/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_e0a2ce17204850a7d8148ebdce22fafa/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/cache.txt', 'Checking value of NSIG'] out: 65 65 ----------------------------------------------------------------------------------------------- Checking value of _NSIG ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define HAVE_GETAUXVAL 1 #define VALUEOF_NSIG 65 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { printf("%u", (unsigned)(_NSIG)); return 0; } <== [1/3] Compiling bin/.conf_check_cef5112af32b16ac182b8aa259e0f3e2/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_cef5112af32b16ac182b8aa259e0f3e2/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_cef5112af32b16ac182b8aa259e0f3e2/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_cef5112af32b16ac182b8aa259e0f3e2/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-no-undefined'] [3/3] Processing bin/.conf_check_cef5112af32b16ac182b8aa259e0f3e2/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_cef5112af32b16ac182b8aa259e0f3e2/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/cache.txt', 'Checking value of _NSIG'] out: 65 65 ----------------------------------------------------------------------------------------------- Checking value of SIGRTMAX ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define HAVE_GETAUXVAL 1 #define VALUEOF_NSIG 65 #define VALUEOF__NSIG 65 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { printf("%u", (unsigned)(SIGRTMAX)); return 0; } <== [1/3] Compiling bin/.conf_check_1dbc7f1ccd51a6df45e9dfc97cc96c4f/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1dbc7f1ccd51a6df45e9dfc97cc96c4f/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_1dbc7f1ccd51a6df45e9dfc97cc96c4f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1dbc7f1ccd51a6df45e9dfc97cc96c4f/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-no-undefined'] [3/3] Processing bin/.conf_check_1dbc7f1ccd51a6df45e9dfc97cc96c4f/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_1dbc7f1ccd51a6df45e9dfc97cc96c4f/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/cache.txt', 'Checking value of SIGRTMAX'] out: 64 64 ----------------------------------------------------------------------------------------------- Checking value of SIGRTMIN ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define HAVE_GETAUXVAL 1 #define VALUEOF_NSIG 65 #define VALUEOF__NSIG 65 #define VALUEOF_SIGRTMAX 64 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { printf("%u", (unsigned)(SIGRTMIN)); return 0; } <== [1/3] Compiling bin/.conf_check_b77d21e4e4e76723d59adaf15dc17a89/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b77d21e4e4e76723d59adaf15dc17a89/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_b77d21e4e4e76723d59adaf15dc17a89/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b77d21e4e4e76723d59adaf15dc17a89/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-no-undefined'] [3/3] Processing bin/.conf_check_b77d21e4e4e76723d59adaf15dc17a89/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_b77d21e4e4e76723d59adaf15dc17a89/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/cache.txt', 'Checking value of SIGRTMIN'] out: 34 34 ----------------------------------------------------------------------------------------------- Checking for program 'python3' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python3'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ----------------------------------------------------------------------------------------------- Checking for program 'python' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3', '-c', 'import sys\ntry:\n print(sys.implementation.cache_tag)\nexcept AttributeError:\n import imp\n print(imp.get_tag())\n'] out: cpython-39 ----------------------------------------------------------------------------------------------- Checking for program 'python3' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python3'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON3' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3', '-c', 'import sys\nfor x in sys.version_info: print(str(x))'] out: 3 9 6 final 0 ----------------------------------------------------------------------------------------------- Checking for python version >= 3.6.0 3.9.6 ----------------------------------------------------------------------------------------------- python headers Check disabled due to --disable-python ----------------------------------------------------------------------------------------------- Checking linker accepts -Wl,-no-undefined ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define HAVE_GETAUXVAL 1 #define VALUEOF_NSIG 65 #define VALUEOF__NSIG 65 #define VALUEOF_SIGRTMAX 64 #define VALUEOF_SIGRTMIN 34 #define TEVENT_NUM_SIGNALS 68 int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_acb7c196daf768a3bbfccf3ec2f30809/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_acb7c196daf768a3bbfccf3ec2f30809/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_acb7c196daf768a3bbfccf3ec2f30809/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_acb7c196daf768a3bbfccf3ec2f30809/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-no-undefined'] yes ----------------------------------------------------------------------------------------------- Checking linker accepts ['-undefined', 'dynamic_lookup'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define HAVE_GETAUXVAL 1 #define VALUEOF_NSIG 65 #define VALUEOF__NSIG 65 #define VALUEOF_SIGRTMAX 64 #define VALUEOF_SIGRTMIN 34 #define TEVENT_NUM_SIGNALS 68 int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_ab39ac9f952df44c209d3d3569543f91/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ab39ac9f952df44c209d3d3569543f91/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_ab39ac9f952df44c209d3d3569543f91/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_ab39ac9f952df44c209d3d3569543f91/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-undefined', 'dynamic_lookup'] err: riscv64-linux-gcc.br_real: error: dynamic_lookup: No such file or directory from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/tevent: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/tevent: The configuration failed ----------------------------------------------------------------------------------------------- Checking for program 'xsltproc' false find program=['xsltproc'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/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-2/output-1/per-package/samba4/host/bin/python3 find program=['python3'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ----------------------------------------------------------------------------------------------- Checking for program 'python' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3', '-c', 'import sys\ntry:\n print(sys.implementation.cache_tag)\nexcept AttributeError:\n import imp\n print(imp.get_tag())\n'] out: cpython-39 ----------------------------------------------------------------------------------------------- Checking for program 'python3' /home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3 find program=['python3'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='PYTHON3' -> ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3'] ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/python3', '-c', 'import sys\nfor x in sys.version_info: print(str(x))'] out: 3 9 6 final 0 ----------------------------------------------------------------------------------------------- Checking for python version >= 3.6.0 3.9.6 ----------------------------------------------------------------------------------------------- python headers Check disabled due to --disable-python ----------------------------------------------------------------------------------------------- Checking for a 64-bit host to support lmdb ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define HAVE_GETAUXVAL 1 #define VALUEOF_NSIG 65 #define VALUEOF__NSIG 65 #define VALUEOF_SIGRTMAX 64 #define VALUEOF_SIGRTMIN 34 #define TEVENT_NUM_SIGNALS 68 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return !(sizeof(size_t) >= 8); return 0; } <== [1/3] Compiling bin/.conf_check_2c05aeb252d7a8187ce63b8102c245b9/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/ldb', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2c05aeb252d7a8187ce63b8102c245b9/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/3] Linking bin/.conf_check_2c05aeb252d7a8187ce63b8102c245b9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2c05aeb252d7a8187ce63b8102c245b9/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-no-undefined'] [3/3] Processing bin/.conf_check_2c05aeb252d7a8187ce63b8102c245b9/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_2c05aeb252d7a8187ce63b8102c245b9/testbuild/default/testprog', '--cross-answers', '/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/cache.txt', 'Checking for a 64-bit host to support lmdb'] from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/ldb: The configuration failed False not found ----------------------------------------------------------------------------------------------- Checking linker accepts -Wl,-no-undefined ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define HAVE_GETAUXVAL 1 #define VALUEOF_NSIG 65 #define VALUEOF__NSIG 65 #define VALUEOF_SIGRTMAX 64 #define VALUEOF_SIGRTMIN 34 #define TEVENT_NUM_SIGNALS 68 /* #undef HAVE_64_BIT_SIZE_T_FOR_LMDB */ int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_d5d69567bd99003f463845131138f695/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d5d69567bd99003f463845131138f695/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_d5d69567bd99003f463845131138f695/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_d5d69567bd99003f463845131138f695/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,-no-undefined'] yes ----------------------------------------------------------------------------------------------- Checking linker accepts ['-undefined', 'dynamic_lookup'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define HAVE_GETAUXVAL 1 #define VALUEOF_NSIG 65 #define VALUEOF__NSIG 65 #define VALUEOF_SIGRTMAX 64 #define VALUEOF_SIGRTMIN 34 #define TEVENT_NUM_SIGNALS 68 /* #undef HAVE_64_BIT_SIZE_T_FOR_LMDB */ int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_63b7a817f57b2a17c1a78a020c4a0584/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_63b7a817f57b2a17c1a78a020c4a0584/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_63b7a817f57b2a17c1a78a020c4a0584/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_63b7a817f57b2a17c1a78a020c4a0584/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-undefined', 'dynamic_lookup'] err: riscv64-linux-gcc.br_real: error: dynamic_lookup: No such file or directory from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/lib/ldb: Test does not build: Traceback (most recent call last): File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/third_party/waf/waflib/Configure.py", line 602, in run_build bld.compile() File "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/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-2/output-1/build/samba4-4.14.4/lib/ldb: The configuration failed ----------------------------------------------------------------------------------------------- Checking linker accepts ['-Wl,--wrap=test'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "riscv64" #define SYSTEM_UNAME_RELEASE "3.0.0" #define SYSTEM_UNAME_VERSION "#1 Tue Nov 1 12:34:56 UTC 2013" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDDEF_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_CTYPE_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_STDARG_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ASSERT_H 1 #define HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define TIME_WITH_SYS_TIME 1 #define SHLIBEXT "so" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #define HAVE__VA_ARGS__MACRO 1 #define BOOL_DEFINED 1 #define HAVE_LIBREPLACE 1 #define LIBREPLACE_NETWORK_CHECKS 1 #define HAVE_LINUX_TYPES_H 1 #define HAVE_CRYPT_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ACL_LIBACL_H 1 #define HAVE_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #define HAVE_SYS_DIR_H 1 #define HAVE_SYS_EPOLL_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_IPC_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_SHM_H 1 #define HAVE_SYS_STATFS_H 1 #define HAVE_SYS_STATVFS_H 1 #define HAVE_SYS_VFS_H 1 #define HAVE_SYS_XATTR_H 1 #define HAVE_TERMIO_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_SYSLOG_H 1 #define HAVE_SYSLOG_H 1 #define HAVE_SYS_MOUNT_H 1 #define HAVE_MNTENT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETDB_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NETINET_IN_SYSTM_H 1 #define HAVE_NETINET_IP_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_IFADDRS_H 1 #define HAVE_DIRENT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_NSS_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_SYS_UNISTD_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #define HAVE_RPC_RPC_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ /* #undef HAVE_SYS_SYSCTL_H */ #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #define HAVE_SYSCALL_H 1 #define HAVE_SYS_SYSCALL_H 1 #define HAVE_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define HAVE_PTRDIFF_T 1 #define HAVE_COMPARISON_FN_T 1 #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #define HAVE_UINT16_T 1 #define HAVE_INT32_T 1 #define HAVE_UINT32_T 1 #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #define HAVE_INO_T 1 #define HAVE_LOFF_T 1 /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #define HAVE_BLKSIZE_T 1 #define HAVE_BLKCNT_T 1 #define SIZEOF_BOOL 1 #define SIZEOF_CHAR 1 #define SIZEOF_INT 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_LONG 8 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 8 #define SIZEOF_SSIZE_T 8 #define SIZEOF_INT8_T 1 #define SIZEOF_UINT8_T 1 #define SIZEOF_INT16_T 2 #define SIZEOF_UINT16_T 2 #define SIZEOF_INT32_T 4 #define SIZEOF_UINT32_T 4 #define SIZEOF_INT64_T 8 #define SIZEOF_UINT64_T 8 #define SIZEOF_VOID_P 8 #define SIZEOF_OFF_T 8 #define SIZEOF_DEV_T 8 #define SIZEOF_INO_T 8 #define SIZEOF_TIME_T 8 #define HAVE_SOCKLEN_T 1 #define HAVE_STRUCT_IFADDRS 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_STRUCT_SOCKADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SA_FAMILY_T 1 #define HAVE_SIG_ATOMIC_T_TYPE 1 #define HAVE_SIGSETMASK 1 #define HAVE_SIGGETMASK 1 #define HAVE_SIGPROCMASK 1 #define HAVE_SIGBLOCK 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSET 1 #define HAVE_INET_NTOA 1 #define HAVE_INET_ATON 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_CONNECT 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETADDRINFO 1 #define 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_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 /* #undef HAVE_CRYPT_RN */ #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 /* #undef HAVE_GETTIMEOFDAY_TZ */ #define HAVE_GETTIMEOFDAY_TZ_VOID 1 #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_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 */ /* #undef HAVE_FUSE_FUSE_LOWLEVEL_H */ #define WINEXE_LDFLAGS -s -Wall -Wl,-Bstatic -Wl,-Bdynamic -luserenv /* #undef PYTHONDIR */ /* #undef PYTHONARCHDIR */ #define HAVE_ZLIB 1 #define HAVE_LIBZ 1 /* #undef HAVE_INFLATEINIT2 */ #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_CMOCKA 1 #define USING_SYSTEM_CMOCKA 1 #define HAVE_POPT 1 #define HAVE_POPT_H 1 #define HAVE_LIBPOPT 1 #define HAVE_POPTGETCONTEXT 1 #define USING_SYSTEM_POPT 1 #define USE_TDB_MUTEX_LOCKING 1 #define TALLOC_BUILD_VERSION_MAJOR 2 #define TALLOC_BUILD_VERSION_MINOR 3 #define TALLOC_BUILD_VERSION_RELEASE 2 #define HAVE_SYS_AUXV_H 1 #define HAVE_GETAUXVAL 1 #define VALUEOF_NSIG 65 #define VALUEOF__NSIG 65 #define VALUEOF_SIGRTMAX 64 #define VALUEOF_SIGRTMIN 34 #define TEVENT_NUM_SIGNALS 68 /* #undef HAVE_64_BIT_SIZE_T_FOR_LMDB */ int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_0e92f798db66db62b00a14684d8d6e1d/test.c ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '-g0', '-D_FORTIFY_SOURCE=1', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '../../test.c', '-c', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0e92f798db66db62b00a14684d8d6e1d/testbuild/default/test.c.1.o', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64'] [2/2] Linking bin/.conf_check_0e92f798db66db62b00a14684d8d6e1d/testbuild/default/testprog ['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin/riscv64-linux-gcc', 'test.c.1.o', '-o/home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4/bin/.conf_check_0e92f798db66db62b00a14684d8d6e1d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,--wrap=test'] yes ----------------------------------------------------------------------------------------------- Checking for program 'flex' not found find program=['flex'] paths=['/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/bin', '/home/buildroot/autobuild/run/instance-2/output-1/per-package/samba4/host/sbin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/games', '/usr/games'] var='FLEX' -> None from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4: Could not find the program ['flex'] from /home/buildroot/autobuild/run/instance-2/output-1/build/samba4-4.14.4: Embedded Heimdal build requires flex but it was not found. Install flex or use --with-system-mitkrb5 or --with-system-heimdalkrb5